tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Turner, John" <>
Subject RE: Index.jsp page in apache and tomcat config....
Date Wed, 09 Oct 2002 11:53:44 GMT

OK, if you have things separated like that, then all of your static content
is on the apache server, and all of your dynamic content is on the tomcat
server.  Right?

In that scenario, /online has only dynamic content, since /online/index.jsp
needs to go to Tomcat.  My guess is you have static and dynamic content in
/online, which means you should probably add a JkMount mapping for
/online/*.jsp, not just /*.jsp.

If /online has only dynamic content, then add a JkMount for /online/* to
Tomcat and setup a welcome file of index.jsp in your web.xml, because in
that scenario (/online = Tomcat server) Apache has no way of finding the


> -----Original Message-----
> From: Raj Mettai []
> Sent: Tuesday, October 08, 2002 4:44 PM
> To:
> Subject: Index.jsp page in apache and tomcat config....
> Hi all,
> I have apache(2.0.39) and tomcat(4.0.4) configured on 
> different solaris 8 machines using mod_jk such that apache 
> servers all html and images while tomcat servers jsp and servlets.
> Here is my jkMount from httpd.conf 
> JkMount /*.jsp tomcat1
> JkMount /servlet/* tomcat1
> I want to configure apache to default to index.jsp page when 
> I try to access the directory (ex :  
>  should go to 
> How can I 
> achieve this, the apache documentroot directory does not have 
> any index.jsp's,so how can you make apache to defualt to index.jsp.
> I have modified DirectoryIndex also to include index.jsp, 
> still apache gives 403(Access forbidden).
> I have lot of links in the site that are just linking to 
> directory without index.jsp, I have to modify them all otherwise.
> any thoughts ????
> thanks
> -Raj

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

View raw message