PDA

View Full Version : why cant i have index.php??


JB
4 Dec 2003, 3:19am
php 4 is working fine (i have the php4 module loaded) but when i go under
< IfModule mod_dir.c> (in httpd.conf)
DirectoryIndex index.htm index.html index.shtml index.cgi index.php
< / IfModule >
index.php still will not work! it only brings up a directory listing...but when i click on the file index.php it works fine. also, when i rename it with any other extension (htm, html, even cgi) the page loads. am i missing a setting somewhere?

JB
4 Dec 2003, 3:40am
doh!:doh: :banghead: :banghead: :banghead:
forgot to restart apache

a2jfreak
4 Dec 2003, 3:50am
:)

Josh-
4 Dec 2003, 8:21pm
Set up re-direct pages just incase..they can be helpful.