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

<VirtualHost *>
    ServerAdmin [EMAIL PROTECTED]
    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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to