File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes valves.RemoteHostValve does not Work Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "valves.RemoteHostValve does not Work" Watch "valves.RemoteHostValve does not Work" New topic
Author

valves.RemoteHostValve does not Work

Shodhan Shah
Greenhorn

Joined: Apr 27, 2006
Posts: 18
Guys
In my set up org.apache.catalina.valves.RemoteAddrValve works great.But
RemoteHostValve does not work.
I use following configuration.
1)
<Valve className="org.apache.catalina.valves.RemoteHostValve"
allow="xxx.firmwide.corp.abc.com"/>
( and it seems it does not work)
Please note that the same configuration with
2)
<Valve className="org.apache.catalina.valves.RemoteAddrValve"
allow="1.2.3.4"/>
works fine.

I just replaced classname and host name ( corresponding with my IP address in (1) which works good. Then what is problem with #2 ?

Any idea?
thanks
Shodhan
[ July 31, 2006: Message edited by: Bear Bibeault ]
 
 
subject: valves.RemoteHostValve does not Work