tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: Cannot protect with Valve Tomcat 5.5.17 Manager Application ( Windows Environment - JRE 5.0)
Date Wed, 26 Jul 2006 11:45:34 GMT
Alain.Vandermeersch@euroclear.com wrote:

>   <Valve className="org.apache.catalina.valves.remoteAddrValve" 
> allow="127.0.0.1"/>

You need to read
http://tomcat.apache.org/tomcat-5.5-doc/config/valve.html more carefully.

A quick look at your config shows:
- The className attribute is wrong. It should be
org.apache.catalina.valves.RemoteAddrValve
- You are not using regular expressions. The period is reserved in
regular expressions. Your allow should be something like "127\.0\.0\.1"

Mark

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


Mime
View raw message