Host Manager is a web application inside of Tomcat that creates/removes Virtual Hosts within Tomcat.
A Virtual Host allows you to define multiple hostnames on a single server, so you can use the same server to handles requests to, for example,
ren.myserver.com
and stimpy.myserver.com
.
Unfortunately documentation on the GUI side of the Host Manager doesn't appear to exist, but documentation on configuring the virtual hosts manually in
context.xml
is here:
The full explanation of the
Host
parameters you can find here:
Now, how to setup tomcat for project management.
· Make sure your tomcat must contain below apps in it ‘webapps’ directory
o ROOT, manager, host-manager, docs, examples
· Now, first edit the REALM in the $CATALINA_HOME/conf/server.xml. Add the attribute of digest="HASH_TYPE" The values for HASH_TYPE can be sha, md5 or md2.
- Execute the following to generate the HASH of the password:
$CATALINE_HOME/bin/digest.sh -a HASH_TYPE PASSWORD
- Replace the password for the user in question in the $CATALINA_HOME/conf/tomcat_users.xml
- Restart the Tomcat
- Now, you can access the tomcat management console from browser
- Go to Manager App, Tomcat will ask the username and password which we added in tomcat-user.xml file
Comments
Post a Comment