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 2008/05/27 22:38:48 UTC
DO NOT REPLY [Bug 44803] Path info is decoded too soon
https://issues.apache.org/bugzilla/show_bug.cgi?id=44803
Dan Stusynski <ds...@ptc.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW
--- Comment #8 from Dan Stusynski <ds...@ptc.com> 2008-05-27 13:38:48 PST ---
After applying the supplied patch (for mod_proxy_http.c and mod_proxy_ajp.c)
against the 2.2.8 source I ran into an issue while testing the use of
ProxyPassMatch. I did not test the mod_proxy_fcgi.c patch as we do not use, nor
build fcgi.
The directive being used is:
<IfModule mod_proxy_ajp.c>
ProxyPassMatch ^(/Windchill/(.*\.jsp(.*)|servlet/.*|.*\.jar))$
balancer://ajpWorker$1 nocanon
</IfModule>
The balancer configuration is:
<Proxy balancer://ajpWorker>
BalancerMember ajp://localhost:8010 min=16 max=80 smax=40 ttl=900
keepalive=Off timeout=90000 retry=1 flushpackets=on
</Proxy>
The issue is that the use of nocanon causes the URL to be rewritten
incorrectly. A request to
//ajpWorker/Windchill/netmarkets/jsp/product/list.jsp?tab=product&u8=1
was rewritten to
ajp://localhost:8010/Windchill/netmarkets/jsp/product/list.jsp%3Ftab=product&u8=1?tab=product&u8=1
This resulted in a 404 from Tomcat. Removing the nocanon fixed the issue.
--
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