Re: HowTo restart VHosts on 6.0.20

2010-01-14 Thread CBy-2



Alexander Diedler wrote:
 
 We want to have the possibility, to reload every VHost seperatly by using
 the MANAGER App in every vhost. What have we to do?
 

You can make the manager web app available by placing an XML fragment file
with just the Context element in each Conf/Catalina/[virtual host]
directory.


Alexander Diedler wrote:
 
 2nd question: How we can secure the manager app in every context only be
 accessed by special IP ranges?
 

See Remote Host Filter in
http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html
-- 
View this message in context: 
http://old.nabble.com/HowTo-restart-VHosts-on-6.0.20-tp27158947p27159305.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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



Re: AW: HowTo restart VHosts on 6.0.20

2010-01-14 Thread CBy-2


markt-2 wrote:
 
 CBy-2 left out an important detail. You'll need to copy the manager
 directory (and all the contents) from /webapps to /webappA
 
 There are ways to organise this so you only have a single manager
 directory but just copying it is the quickest solution.
 

I didn't mention it, because I always refer to a single manager directory,
i.e. the default one, which works fine for me. Perhaps it didn't work for
Alexander because he used /manager instead of /manager/html to access it?
(All the Tomcat distributions I worked with have this link wrong too: try to
click the /manager link in the manager application.)

Carsten
-- 
View this message in context: 
http://old.nabble.com/HowTo-restart-VHosts-on-6.0.20-tp27158947p27160221.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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



Re: AW: HowTo restart VHosts on 6.0.20

2010-01-14 Thread CBy-2



markt-2 wrote:
 
 That isn't wrong - that is by design. The links on the manager page that
 lists deployed applications aren't guaranteed to work since there is no
 guarantee that a webapp will respond to an http GET request of
 /contextpath. Nearly all do, but the manager is one of the exceptions.
 

True, but it can be a bit confusing and might be the reason why it didn't
work for Alexander.
-- 
View this message in context: 
http://old.nabble.com/HowTo-restart-VHosts-on-6.0.20-tp27158947p27160432.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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