What about /online/*.jsp instead of /online/* ? John
> -----Original Message----- > From: Raj Mettai [mailto:rmettai@;broward.edu] > Sent: Thursday, October 17, 2002 4:11 PM > To: [EMAIL PROTECTED] > Subject: RE: Index.jsp page in apache and tomcat config.... > > > Hi John, > > thanks for your response, somehow I missed your response and > was waiting to hear on this ...anyway, as you said I have all > static data on apache and all dynamic data on tomcat. When I > do JkMount for /online/* and index.jsp in web.xml it works > great but Apache forwards all requests to tomcat even images > and include files will be looked under tomcat. > > is there anyway, to do jkmount /* ajp13 and still have > apache serve static pages and images.. > > thanks again > > -Raj > > > [EMAIL PROTECTED] 10/09/02 07:53AM >>> > > 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 > file. > > John > > > -----Original Message----- > > From: Raj Mettai [mailto:rmettai@;broward.edu] > > Sent: Tuesday, October 08, 2002 4:44 PM > > To: [EMAIL PROTECTED] > > 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 : > > http://www.apacheserver.com/online/ should go to > > http://www.apacheserver.com/online/index.jsp). 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: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org> -- To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>
