Hi all,
I have just installed Tomcat 4.1.24 on my RedHat 8.0 linux machine and when I point to
http://Harpo:8080 I get the default Tomcat page. Success here But I have a problem.
I wish to set up accounts on my Tomcat server for different users under <Tomcat_home>/webapps.
Under webapps I want to create a directory called "students" and then under students
my users, say john, paul, george and ringo. To the structure is
<Tomcat_home>/webapps/students/john
<Tomcat_home>/webapps/students/paul
<Tomcat_home>/webapps/students/george
<Tomcat_home>/webapps/students/ringo
I do this to keep the applications in one area rather than scattered under <Tomcat_home>/webapps
The Context directive in server.xml for johnl is.
<Context path="/johnl" docBase="students/johnl" debug="0"
reloadable="true" crossContext="true"/>
I restart Tomcat, but when I point to
http://Harpo:8080/johnl
i get the typical HTTP Status 404 - /johnl.
However if I put johnl directly under <Tomcat_home>/webapps
ie <Tomcate_home>/webapps/johnl (just like the default /examples)
it works fine!!!??? Why is this so?
Is it not possible to create directories to organise your users with Tomcat?
Any help appreciates
