Thanks,

I added that to the examples Context and it works fine :)

I noted that I need to access the pages as http://127.0.0.1:8080... and that
using my host name did not allow access. This is not a problem just an
observation.

Cheers
Neil

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 20 March 2003 12:05
To: [EMAIL PROTECTED]
Subject: RE: restricting accesb by ip address



<Context path="/admin" docBase="../server/webapps/admin"
        debug="0" privileged="true">

  <!-- Uncomment this Valve to limit access to the Admin app to localhost
   for obvious security reasons. Allow may be a comma-separated list of
   hosts (or even regular expressions).
  <Valve className="org.apache.catalina.valves.RemoteAddrValve"
    allow="127.0.0.1"/>
  -->

  <Logger className="org.apache.catalina.logger.FileLogger"
             prefix="localhost_admin_log." suffix=".txt"
          timestamp="true"/>

</Context>

This is an example ...

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 20 March 2003 12:04
To: [EMAIL PROTECTED]
Subject: RE: restricting accesb by ip address


if it is a full application please look at <Valve> tag in server.xml 

Thanks 
guru
-----Original Message-----
From: Neil Blue [mailto:[EMAIL PROTECTED]
Sent: 20 March 2003 11:55
To: '[EMAIL PROTECTED]'
Subject: restricting accesb by ip address


Hello,

I am using tomcat4 and would like to restrict access to a set of jsp pages,
based on the IP address of the client. 
I have found how to do this with apache, but I am using tomcat standalone.
Please can anyone tell me if this is possible with Tomcat standalone.

Neil

---------------------------------------------------------------------
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]

---------------------------------------------------------------------
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