Change URL path of a webapps to root

2004-02-02 Thread Hertenstein Alain
Hi all, Sorry if this question has already been asked before... I have a webapps http://localhost/myApps/ on Tomcat 4.1.27 which I'd simply like to map to http://localhost . I've added a simple context... tag in the server.xml file and put the path attribute to blank (). This seems to work, but

RE: Change URL path of a webapps to root

2004-02-02 Thread Shapira, Yoav
Howdy, Sorry if this question has already been asked before... I have a webapps http://localhost/myApps/ on Tomcat 4.1.27 which I'd simply like to map to http://localhost . I've added a simple context... tag in the server.xml file and put the path attribute to blank (). This seems to work, but

RE : Change URL path of a webapps to root

2004-02-02 Thread Hertenstein Alain
Hi Yoav, What you've done is enough. You don't need to delete the ROOT files because the ROOT context is commented out by default. But if you don't need them, delete them for cleanliness. Thanks a lot. How is it possible that the ROOT context is accessible, while the entry in server.xml is put

RE: RE : Change URL path of a webapps to root

2004-02-02 Thread Shapira, Yoav
Howdy, Thanks a lot. How is it possible that the ROOT context is accessible, while the entry in server.xml is put inside comments ? (didn't find this one in the archives ;-) ). Because by default tomcat will automatically deploy web applications from the appBase directory. See the Host element