You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Rob G <ro...@gmail.com> on 2010/03/12 17:03:24 UTC

Re: Restrict access to Manager from local ip address (Tomcat 6.0/Windows)

Charles and Mark,

Thanks for your help. Your advice on removing the docBase and
Resourcelink attibutes was correct and the restriction is now working
correctly.

I had based my changes to the conf files based on these articles:
http://www.unidata.ucar.edu/Projects/THREDDS/tech/reference/TomcatSecurity.html
http://www.theserverside.com/tt/articles/content/TomcatSecurity/TomcatSecurity.pdf

Obviously they weren't entirely correct.


Thanks again
Regards
Rob

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


RE: Restrict access to Manager from local ip address (Tomcat 6.0/Windows)

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Rob G [mailto:robatgumtree@gmail.com]
> Subject: Re: Restrict access to Manager from local ip address (Tomcat
> 6.0/Windows)
> 
> Well I had looked at
> http://tomcat.apache.org/tomcat-6.0-doc/manager-howto.html#Configuring
> Manager Application Access. And it has the docbase attribute too...

The only time the docBase attribute is allowed is when the webapp is located outside of the <Host> appBase directory - which it is, in the case described by the doc.  (And the path attribute is only allowed when the <Context> element is in server.xml, which is strongly discouraged.)

I agree that the doc should be adjusted to reflect typical, not unusual, usage.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.


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


Re: Restrict access to Manager from local ip address (Tomcat 6.0/Windows)

Posted by Rob G <ro...@gmail.com>.
Well I had looked at
http://tomcat.apache.org/tomcat-6.0-doc/manager-howto.html#Configuring
Manager Application Access. And it has the docbase attribute too...

> All too common, unfortunately.  Use the real Tomcat doc first, then Google.

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


RE: Restrict access to Manager from local ip address (Tomcat 6.0/Windows)

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Rob G [mailto:robatgumtree@gmail.com]
> Subject: Re: Restrict access to Manager from local ip address (Tomcat
> 6.0/Windows)
> 
> I had based my changes to the conf files based on these articles:
> http://www.unidata.ucar.edu/Projects/THREDDS/tech/reference/TomcatSecurity.html
> http://www.theserverside.com/tt/articles/content/TomcatSecurity/TomcatSecurity.pdf
> 
> Obviously they weren't entirely correct.

All too common, unfortunately.  Use the real Tomcat doc first, then Google.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.


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