Suggestion:  set the welcome page to index.html in Apache.  In
Tomcat alias index.jsp as index.html for places where its needed.  Not the
best solution, but a workable one.  (The problem really is Apache making the
determination and making a specific request to Tomcat).

        Randy

> -----Original Message-----
> From: Mark Muffett [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 28, 2001 6:12 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Default index page
> 
> 
> I had the same problem - I couldn't solve it with Tomcat, so I changed
> DirectoryIndex specifically for the required Virtual Hosts in 
> mod-jk.conf
> (ie the Apache config).
> 
> I'd be interested in any better solutions.
> 
> Mark
> 
> ----- Original Message -----
> From: "Mike Tinnes" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, June 27, 2001 4:11 AM
> Subject: Default index page
> 
> 
> > Hey all,
> > I've got a number of virtual hosts setup, some with 
> index.html and some
> > with index.jsp as the default page. Ideally I'd like for tomcat to
> > search for index.html then index.jsp, but it seems as 
> though apache is
> > determining the default. I've got index.jsp in the 
> <welcome-file-list>
> > of web.xml in the virtual hosts WEB-INF directory, but this does not
> > help. Do I need to disable the DirectoryIndex tag in 
> Apache? Does tomcat
> > even care about the virtual hosts web.xml?
> >
> > Thanks
> >
> > --
> > --------------------------------------------------------------
> > | Mike Tinnes                 |  Ecliptic Technologies, Inc. |
> > | VP Software Development     |  319 5th St. N. Suite C      |
> > | Tel: 701.297.8098 ext. 203  |  Fargo, ND 58103             |
> > | Cel: 701.238.8309           |  701.297.8098                |
> > | [EMAIL PROTECTED]     |  http://www.ecliptictech.com |
> > --------------------------------------------------------------
> >
> 

Reply via email to