From: Rich Bowen Date: Thu, 15 Sep 2016 20:19:13 +0000 (+0000) Subject: Missing 'cgi-bin' in regex, as per comment by pgajdos. X-Git-Tag: 2.5.0-alpha~1154 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=57c6ddd62253b15a90b600271c784906e55238bb;p=thirdparty%2Fapache%2Fhttpd.git Missing 'cgi-bin' in regex, as per comment by pgajdos. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1760974 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/rewrite/vhosts.xml b/docs/manual/rewrite/vhosts.xml index 26b447eb406..8910f5440f7 100644 --- a/docs/manual/rewrite/vhosts.xml +++ b/docs/manual/rewrite/vhosts.xml @@ -207,7 +207,7 @@ RewriteRule "^/(.*)$" "%1/docs/$1" 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]