Posted by Carl Pearson on 02/06/07 14:57
Geoff Muldoon wrote:
> skijore@yahoo.com says...
>> yes it's being rendered as faulty html. If I change the filename to
>> index.php it works fine. What I need to do is tell apache to accept
>> index.php as the root document.
>
> In the <apache-home>/conf/httpd.conf file just add it on the
> DirectoryIndex line:
>
> DirectoryIndex index.html index.php index.htm default.htm
>
> Geoff M
Also, DirectoryIndex works in the order of files presented, so in the
above example if you had an index.html AND an index.php, the index.html
would be the one served.
If you're sure you'll just be using index.php as your root, you can
leave all the other ones out.
[Back to original message]
|