]> granicus.if.org Git - apache/commitdiff
the next sentence says:
authorEric Covener <covener@apache.org>
Mon, 24 Nov 2014 12:49:03 +0000 (12:49 +0000)
committerEric Covener <covener@apache.org>
Mon, 24 Nov 2014 12:49:03 +0000 (12:49 +0000)
The URL argument must be parsable as a URL before regexp substitutions (as well as after). This limits the matches you can use. For instance, if we had used

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1641384 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_proxy.xml

index 44e372a54e14452c0eba679757db32f331048529..4c9a22d8652ba564a640009ab9367a855348f86c 100644 (file)
@@ -1347,7 +1347,7 @@ ProxyPassReverse  /mirror/foo/ https://backend.example.com/
     then</p>
 
     <highlight language="config">
-      ProxyPassMatch ^(/.*\.gif)$ http://backend.example.com$1
+      ProxyPassMatch ^/(.*\.gif)$ http://backend.example.com/$1
     </highlight>
 
     <p>will cause a local request for