Hi all,

Running Apache 2 and Tomcat 4.0.4 integrated with Jk on RH 7.3, I would like
my virtual hosts to display the index.jsp file instead of the dir listing,
but only send *jsp to tomcat, so that other files (most notably a phpBB) are
handled normally under apache.  In httpd.conf my (snipped) virtual host
looks like this:

DirectoryIndex index.jsp index.php index.html
JkMount /*jsp ajp13

which allows everything to work except when looking into directories eg
http://mydomain.com/ which produces a dir listing instead of the rendered
index.jsp.

If I change the virtual host listing to:

DirectoryIndex index.jsp index.php index.html
JkMount /* ajp13

then I get index.jsp for my directory instead of a contents listing (good),
but then everything is getting passed to tomcat and it doesn't understand
php (bad).

All help appreciated, and TIA,
Oliver

********************
Oliver Meyn
[EMAIL PROTECTED]
"Things should be made as simple as possible, but no simpler." - Albert
Einstein


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>

Reply via email to