RemoteHostValve and RemoteAddrValve
Hi, i couldn't understand what does RemoteHostValve and RemoteAddrValve do ? i changed "manager.xml" like this * * 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
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 * * 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]
Re: RemoteHostValve and RemoteAddrValve
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 > > > > * > path="/manager" docBase="../server/webapps/manager" debug="0" > > privileged="true"> > > > > > allow="localhost"/> > > > > * > > > > 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]
Re: RemoteHostValve and RemoteAddrValve
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 * * 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]
Re: RemoteHostValve and RemoteAddrValve
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 * * 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: RemoteHostValve and RemoteAddrValve
ok it works. Thanks... - Original Message - From: "Adam Hardy" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, December 09, 2003 12:33 PM Subject: Re: RemoteHostValve and RemoteAddrValve > 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 > >>> > >>>* >>>path="/manager" docBase="../server/webapps/manager" debug="0" > >>>privileged="true"> > >>> > >>> >>>allow="localhost"/> > >>> > >>> * > >>> > >>>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] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]