httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 46665] New: Regexp parsing problem in ProxyPassMatch
Date Wed, 04 Feb 2009 15:26:40 GMT

           Summary: Regexp parsing problem in ProxyPassMatch
           Product: Apache httpd-2
           Version: 2.2.11
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_proxy

I setup a proxy to a tomcat server and I have problem with the ProxyPassMatch

If I write :
ProxyPassMatch ^(/.*\.page)$ ajp://hostname:8009$1
then I get the following error :
Syntax error on line 573 of C:/Program Files/Apache Software
ProxyPass Unable to parse URL

I noticed that it is the concatenation of hostname + port + $1 that causes
If I remove :8009 or $1, the directive can be parsed, but of course it is not
what I want !

I found the following workaroud :
ProxyPassMatch ^/(.*\.page)$ ajp://hostname:8009/$1

That makes it work.

Do you confirm that the initial syntax should work ?

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message