Can be placed in either server.xml, the context declaration for the webapp (or both)

<Valve className="org.apache.catalina.valves.RemoteAddrValve"
        allow="127.0.0.1"/>

-Tim

Altrock, Jens wrote:

That's what I already read, but there's never said in which config files
to put that in, nor are there any examples... or didn't I see them too?

Jens



-----Urspr�ngliche Nachricht-----
Von: Tim Funk [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 10. Mai 2005 14:42
An: Tomcat Users List
Betreff: Re: Restrict access to webapps for IPs


http://jakarta.apache.org/tomcat/faq/security.html#restrict

-Tim

Altrock, Jens wrote:

Hi there,

Hope this question won't sound as dumb, for I am completely

new to Tomcat;

and I haven't found what I was searching for in the documentation though...

I got four different applications/websites in the Tomcat

webapps directory,

let's just call them A,
B, C and D. The applications A, B and C should be accessible from the networks
192.100.46.0/24 as well as 172.16.0.0/16
But application D should be accessible from anywhere.


Is there any way to do this in tomcat? I tried with the

apache .htaccess

files, but that won't work though.


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]


########################################### Diese Nachricht wurde von F-Secure Anti-Virus gescannt.

This message has been scanned by F-Secure Anti-Virus.


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to