Redirection to a php file

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
Thomas555
Forum Newbie
Posts: 5
Joined: Thu Aug 04, 2005 4:10 am

Redirection to a php file

Post by Thomas555 »

how can i redirect my site to index.php and not index.htm
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post 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
Thomas555
Forum Newbie
Posts: 5
Joined: Thu Aug 04, 2005 4:10 am

Post by Thomas555 »

what do i put that in a htaacess file?
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

Post Reply