Click to See Complete Forum and Search --> : php index page


_off_axis_
03-19-2004, 11:53 PM
i installed apache (version 1.3.28) and php (forgot version) and it all works, i can view .php pages how they should be viewed, the problem is that if I have a directory with index.php and no index.html, it shows the directory folders and doesn't load the index.php page. When I click on the index.php page it goes to it and prints it out how it should be. Is there something I have to configure to make it automatically know that index.php takes the place of index.html as the index page?

thanks for any help

Ryan

swr
03-20-2004, 02:21 AM
Go into your apache config and find a line that looks like this:


DirectoryIndex index.php index.html index.htm index.shtml index.cgi


Make sure "index.php" is in there. If it's not, add it.

_off_axis_
03-20-2004, 02:29 AM
exactly what i needed, worked perfect...thanks for your help