Yes, I have that setup, but I just get a directory listing of the apache
folder, not the tomcat folder

-----Original Message-----
From: Peter Wieland [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 12, 2002 2:29 PM
To: [EMAIL PROTECTED]
Subject: Re: Apache serve index.jsp not index.php


Have you tried the Apache DirectoryIndex directive?
Something like

        DirectoryIndex index.jsp

in your httpd.conf should work.

This can be applied at global level or for each <Directory> or <Location>

Refer to the Apache doc for details.

Peter

> Hi. How can I get apache to serve up index.jsp as the default page? I have
> read a post on http://www.jguru.com/faq/view.jsp?EID=228635 that talks
> about
> setting up the DirectoryIndex on Apache and setting up the
> <welcome-file-list> in the web.xml of my application. I have done both of
> these, but I am still unable to have Apache use the index.jsp as the
> default
> page. Currently my app is setup as <Context path="" docBase="myfolder"
> debug="0" reloadable="true" crossContext="true"/>

> Using http://localhost:8080 defaults to my index.jsp but not
> http://localhost, this still defaults to my index.php

> Thanks, Ted



> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to