Well, that works fine... but a new question arrives to my mind:
why, when using a valve for a context it works well in one OS and not in
another?
This is what is happening:
i put a valve tag in one of my contexts (<Valve
className="
org.apache.catalina.valves.RemoteHostValve"
allow="xx.xx.xx.*" />). When trying to access the corresponding web
application from my computer running Linux Red Hat i get the following
"message
description _Access to the specified resource () has been forbidden."
_
but if i access the same web application from a computer running
WindowsXP it works well.
Can somebody help me?
Thanks!
Pitre, Russell wrote:
>Ahhhhhh........very nice......i was ripping my hair out, I used
>everything but a comma.....Thank you......
>
>Filter eh? Good idea.......which is more secure?
>
>
>Russ
>
>
>
>-----Original Message-----
>From: Shapira, Yoav [mailto:Yoav.Shapira@(protected)]
>Sent: Monday, December 15, 2003 4:27 PM
>To: Tomcat Users List
>Subject: RE: Manager Valve
>
>
>Howdy,
>You can use comma-separated address in the allow list of the
>RemoteAddressValve.
>
>Of course you can also write your own Filter and map it to /* in the
>manager app's web.xml.
>
>Yoav Shapira
>Millennium ChemInformatics
>
>
>
>
>>-----Original Message-----
>>From: Pitre, Russell [mailto:RPITRE@(protected)]
>>Sent: Monday, December 15, 2003 4:26 PM
>>To: Tomcat Users List
>>Subject: Manager Valve
>>
>>How can I restrict access to my manager app to only TWO ip
>>
>>
>addresses????
>
>
>>When I go into the admin app to add a valve for an ip address other
>>
>>
>than
>
>
>>127.0.0.1 or add multiple ip addresses to a single valve....i get the
>>following error:
>>
>>==============================================================
>>Validation Errors:
>>
>>-Allow is invalid. Need to include the admin's IP address.
>>==============================================================
>>
>>Any help greatly appreciated.
>>
>>Russ
>>
>>
>>
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
>>For additional commands, e-mail: tomcat-user-help@(protected)
>>
>>
>
>
>
>
>This e-mail, including any attachments, is a confidential business
>communication, and may contain information that is confidential,
>proprietary and/or privileged. This e-mail is intended only for the
>individual(s) to whom it is addressed, and may not be saved, copied,
>printed, disclosed or used by anyone else. If you are not the(an)
>intended recipient, please immediately delete this e-mail from your
>computer system and notify the sender. Thank you.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
>For additional commands, e-mail: tomcat-user-help@(protected)
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
>For additional commands, e-mail: tomcat-user-help@(protected)
>
>
>
>
--
-----------------------------------------------
| Pedro A Garc�a Medina |
| Groove Media |
| emailto: pedro.garcia@(protected) |
| Tel: 6211072 |
|----------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)