DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=44189>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=44189 Summary: noncanon argument is not recognized in ProxyPass directive Product: Apache httpd-2 Version: 2.2.6 Platform: Other OS/Version: Windows XP Status: NEW Severity: blocker Priority: P2 Component: mod_proxy AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] I have set up an apache reverse proxy in my windows machine to load balance 2 backend servers. The server host some web application on tomcat 4 and 5. This web application is basically a servlet and is accessed as follows http://<servername>:<port>/webapp/MyServlet without a trailing "/" at the end. I have the following load balancer set up in my httpd.conf - ProxyPass /app balancer://mycluster ProxyPassreverse /app balancer://mycluster ProxyPassreverse /app http://server1/webapp/MyServlet ProxyPassreverse /app http://server2/webapp/MyServlet <Proxy balancer://mycluster> BalancerMember http://server1/webapp/Myservlet loadfactor=1 BalancerMember http://server2/webapp/MyServlet loadfactor=1 proxySet lbmethod=byrequests </Proxy> Since mod_proxy rewrites the URL as http://server1/webapp/Myservlet/, I am getting "HTTP Status 403 - directory listings are not allowed" error. As per mod_proxy documentation, I tried the followin option to stop canonicalisation ProxyPass /app balancer://mycluster nocanon but the httpd doesn't recognize the option - D:\apache\Apache2\bin>httpd.exe Syntax error on line 513 of D:/apache/Apache2/conf/httpd.conf: Invalid ProxyPass|ProxyPassMatch parameter. Parameter must be in the form 'key=value'. Later on I checked the 2.2.6 source code and found that there is no code to recognize the "nocanon" keyword. Since I am not able to acces my application via the load balancer is there any quick workaround? mod-rewrite ? -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
