Hi, Thanks for replying. I am on a shared hosting account and dont have access to my httpd.conf file, is there some way to do the same via .htaccess or something?
Any ideas? i want to open the site today. Thanks, -Ryan We will slaughter you all! - The Iraqi (Dis)information ministers site http://MrSahaf.com ----- Original Message ----- From: "Chris Garaffa" <[EMAIL PROTECTED]> To: "Ryan A" <[EMAIL PROTECTED]> Sent: Thursday, October 02, 2003 4:18 AM Subject: Re: [PHP] Show index.php instead of index.html > On Oct 1, 2003, at 10:14 PM, Ryan A wrote: > > > Hi, > > I just deleted my index.html page because i want to use my index.php > > page > > instead but when i visit my site i see the directory listing instead, > > what > > should i do to display the index.php page automatically?? > > If you're using Apache, edit your httpd.conf file so that > DirectoryIndex is set to index.php (you can leave index.html in there > if you think you'll bring it back sometime. Apache will look for the > files in the order specified in httpd.conf). > > For example: > DirectoryIndex index.html index.php > > > -- > Chris Garaffa > [EMAIL PROTECTED] > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php