"Brian V Bonini" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Sat, 2003-12-06 at 10:56, Shaun wrote:
> > Hi,
> >
> > I have just installed Apache on my local machine. However, when browsing
a
> > directory I get the listing of it's contents rather than it defaulting
to
> > the index.php file, is there a way to make this happen?
> >
> > Thanks for your help
>
> move to your apache conf dir and grep -n DirectoryIndex * to see which
> config file has this directive, typically httpd.conf but not
> necessarily.
>
> Then:
>
> sed 's/DirectoryIndex index.html/DirectoryIndex index.html index.php/g'
> httpd.conf > httpd.conf.new
>
> or something similar, check results and move the .new file to httpd.conf
> or whatever it is called on your system and restart apache.
>
> Oh, assuming UNIX BTW...

Sorry no,

Windows XP Pro...

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to