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" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




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