Mark Thomas wrote:
André Warnier wrote:
Mark Thomas wrote:
Caldarale, Charles R wrote:
From: Karthik Nanjangude [mailto:karthik.nanjang...@xius-bcgi.com]
Subject: RE: R: Apache / Tomcat Load Balanced mode

But the intension for doing the same is NOT to expose the "/admin/*"
to INTERNET and reply with  ERROR 404 for the same,

But in case of INTRANET usage access for "/admin/*" should be provided
Write a filter that rejects requests for /admin or /admin/* when the
request arrives from a non-intranet address.
http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html
Remote Address Filter or Remote Host Filter

Wait, does that not block *all* accesses to that host ?

I'd assumed that admin was a separate context and therefore could have a
valve applied. If not, just do it in httpd.

Do you mean that the <Valve> can be inserted at the context.xml level, rather than inside the <Host> ?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to