redirect?

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
Coco
Forum Contributor
Posts: 339
Joined: Sat Sep 07, 2002 5:28 am
Location: Leeds, UK
Contact:

redirect?

Post by Coco »

ok im sure this has been asked before so soz...

i want my home page to be *.php, but the host defaults to index.htm
their customer service is.... err, absent is the best description... so i cant get it done server side

i tried a meta refresh but it didnt work
is there a way to make my homepage a different one other than making index.htm a false frameset?
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

DirectoryIndex directive
Syntax: DirectoryIndex local-url [local-url] ...
Default: DirectoryIndex index.html
Context: server config, virtual host, directory, .htaccess
Override: Indexes
Status: Base
Module: mod_dir
if supported and allowed
DirectoryIndex index.php index.htm index.html in .htaccess may do the trick
Coco
Forum Contributor
Posts: 339
Joined: Sat Sep 07, 2002 5:28 am
Location: Leeds, UK
Contact:

Post by Coco »

silly me i shoulda tried that myself in the first place :oops:
Post Reply