Java Mailing List Archive

http://www.junlu.com/

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

Re: RemoteHostValve and RemoteAddrValve

Tim Funk

2003-12-09

Replies:

RemoteHostValve and RemoteAddrValve docs:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/valve.html

What you are encountering is the permissions to use a webapp. To remove
permissions for the manager webapp, you need to remove its security
constraints from the manager webapp's web.xml.

-Tim

Altug B. Altintas wrote:
> Hi,
> 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 ?
>
> Regards.
>


---------------------------------------------------------------------
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.