Re: Show index.php instead of index.html
| From: | Ryan A | Date: | Thu, 02 Oct 2003 02:23:17 +0000 |
| Subject: | Re: Show index.php instead of index.html | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-164657@lists.php.net to get a copy of this message | ||
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" <chris@nilzero.com>
To: "Ryan A" <ryan@coinpass.com>
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
> chris@nilzero.com
>
>
>