This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: valves.RemoteHostValve does not Work
 
Similar Threads
Tomcat 7 - RemoteAddrValve comma separated IP Address Failure
restricting access to manager and admin
Tomcat - JSP and 403 errors
Tomcat security
Manager & Admin Webapp