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

mod_gnutls/0.10.0
Last change on this file was c825c3a, checked in by Fiona Klute <fiona.klute@…>, 8 months ago

Test suite: Move directory for server identity into authority directory

  • Property mode set to 100644
File size: 656 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   authority/server/x509.pem
11        GnuTLSKeyFile           authority/server/secret.key
12</VirtualHost>
13
14<VirtualHost ${VHOST2_IP}:${TEST_PORT}>
15        ServerName      ${TEST_HOST}
16        GnuTLSEnable    On
17        GnuTLSCertificateFile   authority/server/x509.pem
18        GnuTLSKeyFile           authority/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.