source: mod_gnutls/test/tests/30_ip_based_vhosts/apache.conf @ e5546be

asynciomainproxy-ticket
Last change on this file since e5546be was 99eb567, checked in by Fiona Klute <fiona.klute@…>, 4 years ago

Test suite: Use static output instead of CGI for test 30_ip_based_vhosts

The CGI output usually but not always chunked encoding, and the "not
always" part causes trouble because the output is compared literally
with the expected output. Requesting a static file avoids this.

  • Property mode set to 100644
File size: 616 bytes
Line 
1Include ${srcdir}/base_apache.conf
2
3GnuTLSCache ${DEFAULT_CACHE}
4
5LoadModule      rewrite_module  ${AP_LIBEXECDIR}/mod_rewrite.so
6
7<VirtualHost ${VHOST1_IP}:${TEST_PORT}>
8        ServerName      ${TEST_HOST}
9        GnuTLSEnable    On
10        GnuTLSCertificateFile   server/x509.pem
11        GnuTLSKeyFile           server/secret.key
12</VirtualHost>
13
14<VirtualHost ${VHOST2_IP}:${TEST_PORT}>
15        ServerName      ${TEST_HOST}
16        GnuTLSEnable    On
17        GnuTLSCertificateFile   server/x509.pem
18        GnuTLSKeyFile           server/secret.key
19
20        # Use mod_rewrite to set up a path that will work only on this
21        # virtual host
22        RewriteEngine   On
23        RewriteRule     "^/vhost/test\.txt$" "/test.txt" [PT]
24</VirtualHost>
Note: See TracBrowser for help on using the repository browser.