Print

Print


Thanks to all for this.  Gosh, three minutes and I have several
folks answering.  Apache is happily serving stuff with an
index.php file now...

--STeve Andre'

On Thursday 03 January 2008 11:34:47 Matt Kolb wrote:
> 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