j Posted January 14, 2008 Share Posted January 14, 2008 Using apache 2.2.6 ---------- 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. How can the trailing slash added be avoided? Thanks, J Quote Link to comment Share on other sites More sharing options...
madmax Posted January 14, 2008 Share Posted January 14, 2008 Never used mod_proxy so I am guessing however you could try appending the null-query operator "?" to the end of the redirection. I've had it work in mod_rewrites before. Guess??? ... ProxyPassreverse /app http://server1/webapp/MyServlet? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.