httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Covener" <>
Subject Re: [users@httpd] disable access to different parts of the application when using reverse proxy
Date Mon, 25 Aug 2008 12:05:04 GMT
On Sun, Aug 24, 2008 at 11:26 PM, Meir Yanovich <> 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 :
> <--- whiteout the slash in the end i dont get the
> redirection right only when i type
> <-- with the slash in the end , how can i add this
> slash automatically ?

Try droppign the trailing slash on your ProxyPass and ProxyPassReverse

Eric Covener

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message