On Sun, Aug 24, 2008 at 11:26 PM, Meir Yanovich <meiry242@xxxxxxxxx> wrote: > Hello all > im using apache as reverse proxy to my application that is sitting in > tomcat using mod_jk as the connector > now the reverse proxy is working ok except one thing that i will ask later , > the apache redirect to the application pages as i configure but when i > type manally urls to other parts of my application > using the the apache ip:port i still can access , so my question is > how can i prevent access from apache to other parts of my application > . > > my configuration is simple like this: > ProxyRequests off > ProxyPass /dir/ http://app1:8080/jsp/dir/mypage.jsp > ProxyPassReverse /dir/ http://app1:8080/jsp//dir/mypage.jsp > > and my second question is when using mod_proxy for example when i type : > www.myhost.com/dir <--- whiteout the slash in the end i dont get the > redirection right only when i type > www.myhost.com/dir/ <-- with the slash in the end , how can i add this > slash automatically ? Try droppign the trailing slash on your ProxyPass and ProxyPassReverse directives. -- Eric Covener covener@xxxxxxxxx --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx