tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: R: Apache / Tomcat Load Balanced mode
Date Wed, 22 Apr 2009 15:44:55 GMT
André Warnier wrote:
> Mark Thomas wrote:
>> Caldarale, Charles R wrote:
>>>> From: Karthik Nanjangude [mailto:karthik.nanjangude@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.

Mark


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


Mime
View raw message