> From: Szabolcs Márton [mailto:[EMAIL PROTECTED] 
> Subject: different context on different ports, but one tomcat
> 
> I have ONE instance of Tomcat with 3 different webapps (context)
> instance#1: accept connection only on port 80 from anywhere
> instance#2: accept connections only on https port from anywhere
> instance#3 accept connections on port 7080 but only from localhost

You didn't bother to tell us what level of Tomcat you're using, but this should 
be a starting point for the current version:
http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html#Remote%20Address%20Filter

You will probably have to extend the above filter to add checks for port 
numbers and secure connections.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to