tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Altrock, Jens" <Jens.Altr...@STADT-NW.DE>
Subject AW: AW: Restrict access to webapps for IPs
Date Tue, 10 May 2005 13:54:35 GMT
Ok, got that. But do I need to install the regular expressions library?
And how to say that I want a whole subnet to be added?


> -----Urspr√ľngliche Nachricht-----
> Von: Tim Funk [mailto:funkman@joedog.org]
> Gesendet: Dienstag, 10. Mai 2005 14:56
> An: Tomcat Users List
> Betreff: Re: AW: Restrict access to webapps for IPs
> 
> 
> 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:funkman@joedog.org]
> >>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: tomcat-user-unsubscribe@jakarta.apache.org
> >>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >>
> > 
> > ###########################################
> > Diese Nachricht wurde von F-Secure Anti-Virus gescannt.
> > 
> > This message has been scanned by F-Secure Anti-Virus.
> > 
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> > 
> > 
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
###########################################
Diese Nachricht wurde von F-Secure Anti-Virus gescannt.

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


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


Mime
View raw message