I found the following message in the mail archive, but with no reply. As I
have exactly the same problem, I would very much like to know what the
answer is.
Thanks
Laura Foster
Hello,
this is the problem I have:
I'm using Tomcat with Apache. All my static-files I put into the path
TOMCAT_HOME\webapps\ROOT. The Servlets into this web-inf\classes. The static
files should be served by apache.
Into the httpd.conf I wrote:
...
DocumentRoot "C:/programme/apachgroup/jakarta-tomcat/weapps/ROOT"
...
Include ...\mytomcat-apache.conf
the mytomcat-apache.conf:
...
<Location /WEB-INF/>
AllowOverride None
deny from all
</Location>
<LocationMatch /*.jsp>
SetHandler jserv-servlet
</LocationMatch>
ApJServMount /servlets /ROOT
the servlet.xml:
...
<Context path="" docBase="webapps/ROOT" debug="0" reloadable="true">
</Context>
...
When I'm trying to invoke Servlets in the example-webapp everything works
fine.
Also the serving of the static-files are working properly, but the servlets
I want to open by eg. <http://localhost/servlets/IsItWorking> a 404-error is
coming up.
What am I doing wrong?
Thanks for every help
Maik
************************************************************************
The information in this email is confidential and is intended solely
for the addressee(s).
Access to this email by anyone else is unauthorised. If you are not
an intended recipient, you must not read, use or disseminate the
information contained in the email.
Any views expressed in this message are those of the individual sender,
except where the sender specifically states them to be the views of
The Capital Markets Company.
http://www.capco.com
***********************************************************************