httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rbo...@apache.org
Subject svn commit: r1760974 - /httpd/httpd/trunk/docs/manual/rewrite/vhosts.xml
Date Thu, 15 Sep 2016 20:19:13 GMT
Author: rbowen
Date: Thu Sep 15 20:19:13 2016
New Revision: 1760974

URL: http://svn.apache.org/viewvc?rev=1760974&view=rev
Log:
Missing 'cgi-bin' in regex, as per comment by pgajdos.

Modified:
    httpd/httpd/trunk/docs/manual/rewrite/vhosts.xml

Modified: httpd/httpd/trunk/docs/manual/rewrite/vhosts.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/rewrite/vhosts.xml?rev=1760974&r1=1760973&r2=1760974&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/rewrite/vhosts.xml (original)
+++ httpd/httpd/trunk/docs/manual/rewrite/vhosts.xml Thu Sep 15 20:19:13 2016
@@ -207,7 +207,7 @@ RewriteRule  "^/(.*)$"
 RewriteCond  "%{REQUEST_URI}"               "^/cgi-bin/"
 RewriteCond  "${lowercase:%{SERVER_NAME}}"  "^(.+)$"
 RewriteCond  "${vhost:%1}"                  "^(/.*)$"
-RewriteRule  "^/(.*)$"                      "%1/cgi-bin/$1" [H=cgi-script]
+RewriteRule  "^/cgi-bin/(.*)$"                      "%1/cgi-bin/$1" [H=cgi-script]
 </highlight>
 
 </section>



Mime
View raw message