Can anyone help with this please?
really need to be able to let students write their own jsp/servlets and have
them work without having to make huge alterations to the server.
thanks Matthew
-----Original Message-----
From: Matthew Birkin
Sent: 30 January 2001 13:38
To: [EMAIL PROTECTED]
Subject: Context Problem
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 : [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]