You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2009/08/26 20:55:03 UTC

DO NOT REPLY [Bug 46665] Regexp parsing problem in ProxyPassMatch

https://issues.apache.org/bugzilla/show_bug.cgi?id=46665



--- Comment #2 from Tim Funk <fu...@apache.org> 2009-08-26 11:55:01 PDT ---
I just noticed this error occurs regardless whether one is using ajp or not.

The docs for ProxyPassMatch give this reference:
^(/.*\.gif)$ http://backend.example.com$1 

But if backend.example.com is on a non-default port - you get the error
"ProxyPass Unable to parse URL" - for example:

ERROR
ProxyPassMatch (/foo.+) http://backend.example.com:2829$1

But if you add a / after the port and before the regex substitution, then all
is OK (as long as the regex is fixed so as no to provide an extra prefixed / )

OK
ProxyPassMatch /(foo.+) http://backend.example.com:2829/$1

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org