Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Re: RemoteHostValve and RemoteAddrValve

Adam Hardy

2003-12-09

Replies:

On 12/09/2003 08:17 AM Altug B. Altintas wrote:
> i couldn't understand what does RemoteHostValve and RemoteAddrValve
> do ?
>
> i changed "manager.xml" like this
>
> ***************************************************** <Context
> path="/manager" docBase="../server/webapps/manager" debug="0"
> privileged="true">
>
> <Valve className="org.apache.catalina.valves.RemoteHostValve"
> allow="localhost"/>
>
> </Context> *****************************************************
>
> then i try to enter http://localhost:8081/manager/html from
> localhost, but it is still asking username and password. Any way to
> stop this ?

Wow! This must be Hijack-a-thread Day. Here, I've started a new one for
you.

Did you try entering 127.0.0.1 instead of localhost?

Adam

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.