tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias Hupp" <>
Subject Mapping "/servlet/" URLs to Tomcat 4.0.1 from Apache via mod_webapp
Date Mon, 19 Nov 2001 00:22:41 GMT
Greetings everyone,

While still using Tomcat 3.2.1 and Apache 1.3.12 on the web server I
maintain, I have been asked to reproduce a similar environment on a notebook
running under Windows 2000 for presentation purposes. I installed, among
others, Apache 1.3.20, mod_webapp and Tomcat 4.0.1.

In the Tomcat 3.2.1 environment (and mod_jk), I use the following lines in

JkMount /servlet/* ajp13
JkMount /svl/servlet/* ajp13

So URL requests including /servlet/ or /svl/servlet are handed over to
Tomcat; this is working as intended.

In the new environment, I have the following lines in httpd.conf:

WebAppDeploy svl warpConnection /svl/ - this works - and
WebAppDeploy servlet warpConnection /servlet/ - this produces "Resource not
available" error pages, the ones with the light blue boxes, about myclass
when accessed via

WebAppDeploy ROOT warpConnection /servlet/ doesn't work either, as expected., however, produces the right output, and
so do and, because the root and svl contexts both
point to the same docbase - in the default host for the tomcat standalone
service as well as in the default host for the mod_webapp connector. I have
tried this pattern on several other URL/context combinations, and they
worked as required, but "servlet" seems to be the keyword Tomcat doesn't
accept as a servlet indicator - in V4.0.1, that is.

WebAppDeploy ROOT warpConnection /
also works, but this way, all web traffic gets relayed to Tomcat, which
disables my Apache PHP module and Perl, so that is not an option.
So, can anyone tell me how to reproduce the behaviour I have on the web
server on the Win2000 notebook? It is important for several webapps to be
able to access classes without the svl/ in the URL. Any help is  greatly

Matthias Hupp

To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message