Page 1 of 1

Redirection to a php file

Posted: Thu Aug 04, 2005 4:15 am
by Thomas555
how can i redirect my site to index.php and not index.htm

Posted: Thu Aug 04, 2005 5:01 am
by timvw
Err, by redirecting to index.php instead of index.htm :P

I suppose you mean, which file is as "directoryindex" file? Apache allows you to specify them: (And IIS has it somewhere too..)

Code: Select all

DirectoryIndex index.php index.html index.html.var

Posted: Fri Aug 05, 2005 4:01 am
by Thomas555
what do i put that in a htaacess file?

Posted: Fri Aug 05, 2005 6:57 am
by timvw