Tomcat: how to change location of manager and host-manager to a subdirectory
Posted
by
rolandpish
on Server Fault
See other posts from Server Fault
or by rolandpish
Published on 2011-03-07T05:46:39Z
Indexed on
2011/03/07
16:11 UTC
Read the original article
Hit count: 395
Hi there. I'm running a Tomcat 6.0.28 at port 8080 in a Debian Squeeze box. I'm a newbie in tomcat.
I would like to change the location of manager and host-manager applications. That is, instead of going to:
http://myserver:8080/manager/html
I would like that to be:
http://myserver:8080/somesubdirectory/manager/html
Is this possible? If yes, how can I achieve this? I would really appreciate any help in this.
I've been trying to change the context of /etc/tomcat6/Catalina/localhost/manager.xml from /manager to /somesubdirectory/manager with no success. Also I tried to create a symlink under /var/lib/tomcat6/webapps/ROOT/somesubdirectory/manager with no success.
Thanks in advance.
Cheers.
© Server Fault or respective owner