tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nikolay Diulgerov <>
Subject tomcat and apache document root
Date Wed, 29 Jul 2009 11:15:58 GMT
hello there,
I just wonder if there is an option to configure apache to serve as 
document root /tomcat/webapps/myapp

I have in apache

DocumentRoot "/tomcat/webapps/myapp"
<Directory "/tomcat/webapps/myapp">
    Options FollowSymlinks
    DirectoryIndex index.jsp
    AllowOverride None
    Allow from all


JkMount /*.jsp ajp13
JkMount /*.jspa ajp13
JkMount /* ajp13

But seems mod_jk redirects to tomcat / which is the default tomcat login 
I know that I can change the root of tomcat server to point to 
webapps/myapp and then the config above will work
and when I access tomcat on 8080 to see myapp instead of the tomcat 
default page

but I wonder if there is an option to do this on apache level probably 
playing with mod_jk

Best regards,

Nikolay Diulgerov

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message