Print

Print


On Jan 3, 2008, at 11:28 AM, STeve Andre' wrote:

>  I have PHP installed on my web server, and things are fine except
> for on thing.  A project with a index.php file isn't automatically run
> as an index.html would be.  I know there is a way to convince Apache
> to do this, but I haven't figured it out.  Any clues?  This is PHP  
> 5.2.5
> running with Apache 1.3.
>
> Thanks for the clue x4's...


It's a DirectoryIndex directive, so something like this:

<IfModule mod_dir.c>
     DirectoryIndex index.html index.php
</IfModule>

(You should already have a DirectoryIndex entry somewhere in your conf  
file(s)).

./mk

-- 
Matt Kolb  <[log in to unmask]>
Academic Computing & Network Services
Michigan State University