Jump to content

Apache adding a trailing slash


j

Recommended Posts

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

 

 

Link to comment
https://forums.phpfreaks.com/topic/85909-apache-adding-a-trailing-slash/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.