In server.xml, you'll see a structure similar to 

        <Context path="/examples" 
                 docBase="webapps/examples" 
                 crossContext="false"
                 debug="0" 
                 reloadable="true" > 
        </Context>

If you want it to be in http://localhost/otherpath then change or add a
context to server.xml such that

        <Context path="/otherpath" 
                 docBase="webapps/otherpath" 
                 crossContext="false"
                 debug="9" 
                 reloadable="true" > 
        </Context>

I believe you also need to change uriworkermap.properties so that your ajp12
or ajp13 worker maps the context so add the line:

        /otherpath/*=ajp12

to your tomcat/conf/uriworkermap.properties file.

I hope this helps...

Darrell


-----Original Message-----
From: Fabricio Costa [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 20, 2001 8:56 AM
To: [EMAIL PROTECTED]
Subject: Change path of the jakarta-tomcat on Windows NT


I installed jakarta-tomcat in my windows NT server and i run the .JSP pages
with the path http://localhost/examples/
I want to know how to i can run .JSP pages with another path, for example
http://localhost/otherpath.

Thanks
Fabricio Costa
Brazil.

Reply via email to