Configure Tomcat outside root

J

Jennifer

I am running tomcat 4.1. I need to change the server.xml to have the
server point to another directory other than webapps for the root
directory. I was able to change the server.xml file on my laptop, but
I need to make changes to the server.xml file on our hosting company.

I added the following line of code to the server.xml on my laptop:

<Context path="" docBase="c://myDir" debug="0"/>

It works great on my laptop. The question I have is how would I point
to a directory outside root on the hosting server.

For instance, tomcat's root on our hosting server is
/var/tomcat4/webapps/

I need the docBase to point to /var/www/html

Thanks

Jen
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,011
Latest member
AjaUqq1950

Latest Threads

Top