httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Carville <>
Subject [users@httpd] JSP pages and Apache 2
Date Wed, 03 Aug 2005 19:18:00 GMT
During a migration from Apache 1 to Apache 2 I found a problem with 
DirectoryIndex in VirtualHosts

I have several Virtual Hosts defined with a DirectoryIndex:

<VirtualHost *:80>
     DocumentRoot    /var/jakarta/dpsi-corp/ROOT
     DirectoryIndex  HomePage.jsp index.html
     JkMount         /*.jsp  worker1
     JkMount         /servlet/* worker1

Problem is if I use the above DirectoyIndex, Apache always displays
index.html.  If I remove index.html then HomePage.jsp is passed to
tomcat normally.  I can work around this but it is frustrating that
Apache 2 should behave so differently from Apache 1.

Stephen Carville <>
Unix and Network Admin
Nationwide Totalflood
6033 W. Century Blvd
Los Angeles, CA 90045

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message