tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Diedler <adied...@tecracer.de>
Subject AW: HowTo place Manager-App
Date Mon, 09 May 2011 11:21:24 GMT
Hello,
Ok, so I have to place the context.xml in the conf-Base. But how I can use
Valves, like Remote Adress filter to grant access to the Manager app only
from localhost, 127.0.0.1 and IPs inside from corporate network?

Greetings
Alexander


-----Ursprüngliche Nachricht-----
Von: Thomas Freitag [mailto:thomas@freit.ag] 
Gesendet: Donnerstag, 5. Mai 2011 15:08
An: users@tomcat.apache.org
Betreff: Re: HowTo place Manager-App

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello Alexander,

On 05/05/2011 10:53 AM, Alexander Diedler wrote:
> What´s the best place to make access to the manager-app?
> 
> 1.       Place a separate context for Manager in the Host-Tag in the
> server.xml
> 
> 2.       Place the manager.xml in the /conf/Catalina/[Hostname]/ path?

Quoting the docs: "For Tomcat 6, unlike Tomcat 4.x, it is NOT recommended to
place <Context> elements directly in the server.xml file.
This is because it makes modifying the Context configuration more invasive
since the main conf/server.xml file cannot be reloaded without restarting
Tomcat." (see:
http://tomcat.apache.org/tomcat-6.0-doc/config/context.html)

I'd suggests option 2, even if the quoted argument does not really hold in
your case...

Regards,
- --
Thomas Freitag
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAk3CoRgACgkQGE5pHr3PKuW/jgCfabb3+XZVhi3unAyyFyiTWTEg
NMEAn38mIhjuntCcC3Hd3kP6XZtFzjo/
=F8d0
-----END PGP SIGNATURE-----

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


Mime
View raw message