tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From M.J.Bir...@MATHCOMP.derby.ac.uk
Subject Context Problem
Date Tue, 30 Jan 2001 13:37:44 GMT
Hi 
	can someone help please

I've just installed tomcat onto a windows 2000 server, its running fine and
went on really easily, the examples all work but I've run into a problem I
don't know how to solve.

I have a second web server running on d:\studentwork with each sub dir being
a student username, I need my students to be able to ftp jsp files into
their accounts for testing. I presume I need to setup a new context that
referes to d:\studentwork but when I tried this it either still gave me the
source code rather than executing the file or it stopped serving files
altogether.

the tomcat server was installed into c:\jakarta-tomcat ad the main inetpub
is also on c:\

I presume I need to alter two files

server.xml and uriworkermap.properties - but what needs to go into them - if
anyone can help that would be great.

I had something along the lines of

<Context path="d:\studentwork" 
                 docBase="studentwork/" 
                 crossContext="false"
                 debug="0" 
                 reloadable="true" > 
        </Context>

in server.xml

and 

/studentwork/*.jsp=ajp12 
in the uriworkermap.properties.

Thanks for any advice

Matthew

Matthew Birkin
IT Manager
School of Mathematics and Computing
University of Derby
Tel: 01332 591828
Fax: 01332 622745
Email : M.J.Birkin@Mathcomp.derby.ac.uk



Mime
View raw message