All Tomcat enabled sites receive the default context path as /var/www/html/
. As the Server Administrator, you can add an additional context path.
To add an additional context path:
/var/tomcat4/conf/sites.xml.d/
.site
<n>.xml.custom
./var/tomcat4/conf/server.xml
using the following command.m4 /var/tomcat4/conf/server.xml.template > /var/tomcat4/conf/server.xml
/var/tomcat4/work/domain name
, type the following commands.cd /var/tomcat4/work/
rm -rf *
/etc/rc.d/init.d/tomcat4 restart
When adding an additional context path:
/var/tomcat4/conf/server.xml
or site
<n>.xml
, as these changes will be overwritten by the configuration scripts in Parallels Pro Control Panel.site
<n>.xml.custom
. This will be appended to the file server.xml
. /var/tomcat4/conf/server.xml.template
to set global settings applicable to all sites.