what's wrong with using the same declaration? Read the docs about valves and
you will see the options for this valve.

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/valve.html

Charlie

> -----Original Message-----
> From: Eric Chong [mailto:[EMAIL PROTECTED]]
> Sent: Monday, December 09, 2002 1:23 PM
> To: [EMAIL PROTECTED]
> Subject: How to limit access to a JSP page?
> 
> 
> I want to limit the access to JSP pages or a directory by IP 
> address.  Similar to what the admin.xml is using:
>  
>   <Valve 
> className="org.apache.catalina.valves.RemoteAddrValve" 
> allow="127.0.0.1"/>
>  
> Is it possible?
>  
> Thanks for any help.
> 

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

Reply via email to