You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Henri Gomez <hg...@apache.org> on 2003/09/16 14:58:39 UTC

jk, directoindex and friends

I've got the following configuration Apache 2.0.47/jk 1.2.4 :

<VirtualHost *>
     ServerAdmin webmaster@lxmlrpc
     DirectoryIndex index.html index.php index.jsp
     DocumentRoot /var/www/lxmlrpc
     ServerName lxmlrpc
     ErrorLog logs/lxmlrpc-error_log
     CustomLog logs/lxmlrpc-access_log common
     AddType application/x-httpd-php .php .php4 .php3 .phtml
     AddType application/x-httpd-php-source .phps
     Alias /test /var/www/test
     JkMount /*.jsp tomcat1
     JkOptions +ForwardDirectories

</VirtualHost>


Apache forward request to tomcat for URL :

http://lxmlrpc/test/index.jsp

But only if Apache find a file /var/www/test/index.jsp

Did I miss something or should we add a flag to avoid such
test, since when using Apache and Tomcat on remote systems
I don't want Apache to have dummy 'index.jsp'.

I've got the same request for config like this :


<VirtualHost *>
     ServerAdmin webmaster@lxmlrpc
     DirectoryIndex index.html index.php index.jsp
     DocumentRoot /var/www/lxmlrpc
     ServerName lxmlrpc
     ErrorLog logs/lxmlrpc-error_log
     CustomLog logs/lxmlrpc-access_log common
     AddType application/x-httpd-php .php .php4 .php3 .phtml
     AddType application/x-httpd-php-source .phps
     JkMount /test/*.jsp tomcat1
     JkOptions +ForwardDirectories
</VirtualHost>


Comments welcomed ;)




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org