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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to