On 09/05/2011 12:21, Alexander Diedler wrote: > 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?
As per the docs, Valves can be nested inside Context elements. Mark > > Greetings > Alexander > > > -----Ursprüngliche Nachricht----- > Von: Thomas Freitag [mailto:tho...@freit.ag] > Gesendet: Donnerstag, 5. Mai 2011 15:08 > An: users@tomcat.apache.org > Betreff: Re: HowTo place Manager-App > > 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, --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org