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:[email protected]] 
Sent: Monday, May 24, 2010 1:58 PM
To: Tomcat Users List
Subject: RE: Remote Host Filter

> From: Propes, Barry L [mailto:[email protected]]
> 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: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to