Changeset 99eb567 in mod_gnutls
- Timestamp:
- Nov 4, 2018, 9:42:51 AM (4 years ago)
- Branches:
- asyncio, debian/master, master, proxy-ticket
- Children:
- 7ff6c6c
- Parents:
- 7f2fd55
- Location:
- test/tests/30_ip_based_vhosts
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
test/tests/30_ip_based_vhosts/apache.conf
r7f2fd55 r99eb567 1 1 Include ${srcdir}/base_apache.conf 2 Include ${srcdir}/cgi_module.conf3 2 4 3 GnuTLSCache ${DEFAULT_CACHE} 4 5 LoadModule rewrite_module ${AP_LIBEXECDIR}/mod_rewrite.so 5 6 6 7 <VirtualHost ${VHOST1_IP}:${TEST_PORT}> … … 17 18 GnuTLSKeyFile server/secret.key 18 19 19 # CGI is allowed only on this virtual host, so a successful 20 # request to a CGI script shows that the right server has been 21 # selected. 22 <Directory ${srcdir}/data> 23 Options +ExecCGI 24 </Directory> 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] 25 24 </VirtualHost> -
test/tests/30_ip_based_vhosts/input
r7f2fd55 r99eb567 1 GET / dump.cgiHTTP/1.11 GET /vhost/test.txt HTTP/1.1 2 2 Host: __HOSTNAME__ 3 3 -
test/tests/30_ip_based_vhosts/output
r7f2fd55 r99eb567 1 HTTP/1.1 200 OK 1 Accept-Ranges: bytes 2 Content-Length: 5 2 3 Connection: close 3 Transfer-Encoding: chunked4 4 Content-Type: text/plain 5 5 6 54 7 ----Certificate:---- 8 9 10 ----Verification Status:---- 11 NONE 12 13 ----SubjectAltName:---- 14 15 16 17 0 18 6 test 19 7 - Peer has closed the GnuTLS connection
Note: See TracChangeset
for help on using the changeset viewer.