You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ic...@apache.org on 2015/09/22 14:29:13 UTC
svn commit: r1704599 -
/httpd/test/mod_h2/trunk/conf/sites/test2.example.org.conf
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>