httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n..@apache.org
Subject svn commit: r808489 - /httpd/httpd/branches/2.2.x/docs/manual/mod/mod_proxy.xml
Date Thu, 27 Aug 2009 16:18:20 GMT
Author: niq
Date: Thu Aug 27 16:18:19 2009
New Revision: 808489

URL: http://svn.apache.org/viewvc?rev=808489&view=rev
Log:
Improve docs note on PR 46665 (ProxyPassMatch buglet) as suggested by wrowe

Modified:
    httpd/httpd/branches/2.2.x/docs/manual/mod/mod_proxy.xml

Modified: httpd/httpd/branches/2.2.x/docs/manual/mod/mod_proxy.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/mod/mod_proxy.xml?rev=808489&r1=808488&r2=808489&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/docs/manual/mod/mod_proxy.xml (original)
+++ httpd/httpd/branches/2.2.x/docs/manual/mod/mod_proxy.xml Thu Aug 27 16:18:19 2009
@@ -945,10 +945,18 @@
     <code>http://example.com/foo/bar.gif</code> to be internally converted
     into a proxy request to <code>http://backend.example.com/foo/bar.gif</code>.</p>
     <note><title>Note</title>
-      The URL argument must be parsable as a URL <em>before</em> regexp
+      <p>The URL argument must be parsable as a URL <em>before</em> regexp
       substitutions (as well as after).  This limits the matches you can use.
-      See <a href="https://issues.apache.org/bugzilla/show_bug.cgi">PR 46665</a>
-      for details and workaround ideas.
+      For instance, if we had used</p>
+      <example>
+        ProxyPassMatch ^(/.*\.gif)$ http://backend.example.com:8000$1
+      </example>
+      <p>in our previous example, it would fail.  This is a bug
+      (PR 46665 in the ASF bugzilla), and the workaround is to
+      reformulate the match, so the above will work if expressed as</p>
+      <example>
+        ProxyPassMatch ^/(.*\.gif)$ http://backend.example.com:8000/$1
+      </example>
     </note>
 
     <p>The <code>!</code> directive is useful in situations where you don't
want



Mime
View raw message