This is a discussion on Subdirectories under webapps for Tomcat??? within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi, I can seem to create subdirectories under webapps that Tomcat (4.1.29) will recognize. Here is my problem......... ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi,
I can seem to create subdirectories under webapps that Tomcat (4.1.29) will recognize. Here is my problem......... I have installed Tomcat 4.1.29 successfully and JSP and Servlets work fine BUT I wish to have my users in a directory under webapps called 2003. My directory structure looks like the one below /examples /ROOT /stephanj ß created by me /2003/johnl ß created by me (so a user johnl is under a directory 2003) The critical parts of the server.xml file looks like <Context path="/stephanj" docBase="stephanj" debug="0" reloadable="true" crossContext="true" /> <Context path="/johnl" docBase="2003/johnl" debug="0" reloadable="true" crossContext="true" /> The URL http://localhost:8080/stephanj works fine BUT http://localhost:8080/johnl keeps giving me a HTTP Status 404 - /johnl error. Is it not possible to organize directories under webapps? Any help appreciated |
|
|||
|
stephanj <stephanj@melbpc.org.au> wrote:
> <Context path="/stephanj" docBase="stephanj" debug="0" reloadable="true" > crossContext="true" /> > <Context path="/johnl" docBase="2003/johnl" debug="0" reloadable="true" > crossContext="true" /> > The URL http://localhost:8080/stephanj works fine BUT > http://localhost:8080/johnl keeps giving me a HTTP Status 404 - /johnl > error. Is it not possible to organize directories under webapps? AFAIK it is possible, it could be a problem with directory permissions or something else. Check tomcat's log files if there is some error reported. Davide |