tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Hardy <ahardy.str...@cyberspaceroad.com>
Subject Re: RemoteHostValve and RemoteAddrValve
Date Tue, 09 Dec 2003 10:33:15 GMT
Go into server/webapps/manager/WEB-INF/web.xml and remove the 
security-constraint on the manager.

I haven't tried this myself so make sure you test the RemoteHostValve 
thoroughly to make sure it is protecting your manager app as you wish, 
before you put it in production!

Adam

On 12/09/2003 11:25 AM Altug B. Altintas wrote:
> No,  i try http://localhost:8081/manager/html like this. And it is still
> asking username and password
> 
> Any working example will be really appreciated.
> Thanks.
> 
> 
> ----- Original Message ----- 
> From: "Adam Hardy" <ahardy.struts@cyberspaceroad.com>
> To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
> Sent: Tuesday, December 09, 2003 11:49 AM
> Subject: Re: RemoteHostValve and RemoteAddrValve
> 
> 
> 
>>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@jakarta.apache.org
>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message