You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Carsten Heidmann <he...@Hamburg.BAW.DE> on 2003/03/24 13:36:40 UTC
wrong mapping? (mod_jk2)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Sorry for reposting this matter (was:"htaccess/virtual hosts doesn't
work"), but in the meantime I could find out some things by myself.
I have a combination of Apache httpd/mod_jk2/Tomcat (2.0.44/2.0.2/4.1.24)
on Sol8.
Apache is set up to serve a number of name-based virtual hosts. Some of the
hosts should serve dynamic content with Tomcat, others not. When I set up
'workers2.properties' with the directive:
[uri:/*.jsp]
everything works right as long as I don't want to use 'index.jsp' as
Directory index file in httpd.conf. Including 'index.jsp' in the Apache
'DirectoryIndex' directive results in the following behaviour:
Even if there is no file in a directory, which is specified by
'DirectoryIndex', Apache maps this request to Tomcat, no matter what I have
in the 'workers2.properties'.
Maybe I am completely wrong about the mapping configuration directives in
'workers2.properties', but I just can't see what's wrong.
Any help appreciated,
Carsten
-----BEGIN PGP SIGNATURE-----
Version: 6.5.8ckt
iQA/AwUBPn7tvLjxzYr/SJ6uEQIjJgCgs1ZiLTQiLa0l/DaZTYeEn7W5EBsAoOaE
8kRsqHDQgDIPYmp+zazkaRoy
=t37E
-----END PGP SIGNATURE-----
------------------------------------------------------------
Dipl. Geogr. Carsten Heidmann Bundesanstalt fuer Wasserbau
Tel.: 040.81908.345 - Aussenstelle Kueste -
Fax: 040.81908.373 Wedeler Landstrasse 157
heidmann@hamburg.baw.de DE - 22559 Hamburg
http://nokis.baw.de/ http://www.hamburg.baw.de/
------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org