httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ic...@apache.org
Subject svn commit: r1704599 - /httpd/test/mod_h2/trunk/conf/sites/test2.example.org.conf
Date Tue, 22 Sep 2015 12:29:13 GMT
Author: icing
Date: Tue Sep 22 12:29:10 2015
New Revision: 1704599

URL: http://svn.apache.org/viewvc?rev=1704599&view=rev
Log:
adding http vhost for test2.example.org

Modified:
    httpd/test/mod_h2/trunk/conf/sites/test2.example.org.conf

Modified: httpd/test/mod_h2/trunk/conf/sites/test2.example.org.conf
URL: http://svn.apache.org/viewvc/httpd/test/mod_h2/trunk/conf/sites/test2.example.org.conf?rev=1704599&r1=1704598&r2=1704599&view=diff
==============================================================================
--- httpd/test/mod_h2/trunk/conf/sites/test2.example.org.conf (original)
+++ httpd/test/mod_h2/trunk/conf/sites/test2.example.org.conf Tue Sep 22 12:29:10 2015
@@ -18,3 +18,21 @@
     SSLCertificateKeyFile conf/ssl/test.example.org.key
 
 </VirtualHost>
+
+<VirtualHost *:SUBST_PORT_HTTP_SUBST>
+	ServerName test2.example.org:SUBST_PORT_HTTP_SUBST
+    DocumentRoot "SUBST_SERVER_ROOT_SUBST/htdocs/test.example.org"
+    Protocols http/1.1 h2c
+
+    RewriteEngine on
+    RewriteRule ^/latest.tar.gz$ /xxx-1.0.2a.tar.gz [R=302,NC]
+
+    <Location /proxy/>
+        ProxyPass http://test.example.org:SUBST_PORT_HTTP_SUBST/
+        ProxyPassReverse http://test.example.org:SUBST_PORT_HTTP_SUBST/
+        Order allow,deny
+        Allow from all
+    </Location>
+    RewriteRule /rewrite(.*) http://test.example.org:SUBST_PORT_HTTP_SUBST$1 [P]
+
+</VirtualHost>



Mime
View raw message