I believe that's my problem, there.

A few years back I tried to use both .getRemoteAddr and .getRemoteHost in one 
of my servlets to retrieve those user agent variables (both IP and machine 
names), and both returned the IP address.

So I'm probably stuck using the RemoteAddrValve filter.

Thanks, though. 

-----Original Message-----
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] 
Sent: Monday, May 24, 2010 1:58 PM
To: Tomcat Users List
Subject: RE: Remote Host Filter

> From: Propes, Barry L [mailto:barry.l.pro...@citi.com]
> Subject: RE: Remote Host Filter
> 
> <Valve className="org.apache.catalina.valves.RemoteHostValve"
> allow="\\machine43name" />     like this.

As Mark said, use the actual name as it appears in the HTTP header, not the 
Windows corruption of it.

 - 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 unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to