7 DocumentRoot ${TESTS_ROOT_DIR}
9 ErrorLog "${TESTS_ROOT_DIR}/apache_error.log"
10 CustomLog "${TESTS_ROOT_DIR}/apache_access.log" combined
12 # Env vars used by the test code, which we get from the environment
13 SetEnv HTTPSERVER ${HTTPSERVER}
15 <Directory "${TESTS_ROOT_DIR}">
16 Options FollowSymLinks MultiViews
21 # needed for basic auth (PHP_AUTH_USER and PHP_AUTH_PW)
23 RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
24 RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization}]
31 <VirtualHost _default_:443>
33 DocumentRoot ${TESTS_ROOT_DIR}
35 ErrorLog "${TESTS_ROOT_DIR}/apache_error.log"
36 CustomLog "${TESTS_ROOT_DIR}/apache_access.log" combined
38 # Env vars used by the test code, which we get from the environment
39 SetEnv HTTPSERVER ${HTTPSERVER}
41 <Directory "${TESTS_ROOT_DIR}">
42 Options FollowSymLinks MultiViews
47 # needed for basic auth (PHP_AUTH_USER and PHP_AUTH_PW)
49 RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
50 RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization}]
54 # This cert is bundled by default in Ubuntu
55 SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem
56 SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key
58 <FilesMatch "\.(cgi|shtml|phtml|php)$">
59 SSLOptions +StdEnvVars
62 BrowserMatch "MSIE [2-6]" \
63 nokeepalive ssl-unclean-shutdown \
64 downgrade-1.0 force-response-1.0
65 BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown