Fw: [PHP] php.net's index.php
| From: | Chris Schneck | Date: | Sun, 29 Jul 2001 15:25:04 +0000 |
| Subject: | Fw: [PHP] php.net's index.php | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-60103@lists.php.net to get a copy of this message | ||
Just so you know, you can also list them off in order you want them to
appear.
DirectoryIndex index.php index.html default.php
etc. etc.
Your Systems administrator for whomever you host with should be able to take
care of this, he probably should have already :)
----- Original Message -----
From: "Ryan Fischer" <ryan@gigabee.com>
To: <DrWebPat@aol.com>; <php-general@lists.php.net>
Sent: Sunday, July 29, 2001 8:21 AM
Subject: Re: [PHP] php.net's index.php
> You wrote:
> > I was wondering what I would have to do in order to have index.php
> load up
> > automatcially when someone went to my domain. IE if they go to
> > www.mydomain.com and I have index.html or index.htm there then those
> pages
> > get loaded first. How could I do it so index.php, index.php3,
> index.phtml
> > were default as well?
>
> Create a file called .htaccess with this in it:
>
> DirectoryIndex index.php
>
> Upload it to the directory you want it to affect.
>
> This assumes you're using Apache, of course.
>
> HTH! :)
>
> --
> -Ryan :: ICQ - 595003 :: GigaBoard - http://www.gigaboard.net/
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>