Forums » Support
changing default dir w/ htaccess
chirs
UNITED STATES
2008-05-01 15:26:46
 

hello internet. i have a question regarding the the htaccess file. what i would like to do is work on my indexhibit in root but have my server call index.html rather than index.php until i have the site ready. perhaps there is a better way, but my understanding is that i can add something to the effect of
DirectoryIndex index.html index.php
to the htaccess file to make this work. it's not working currently. comments, suggestions?

thanks
c

Vaska
I WROTE THIS
2008-05-01 15:28:54
 

Not all servers allow you do to that...

Another trick is to rename your Indexhibit index.php file to something like home.php and then edit up the htaccess file changing index.php to home.php. THEN, you can keep an index.php file and it will work as you want.

chirs
UNITED STATES
2008-05-01 15:34:16
 

super! thanks i'll try this.

chirs
UNITED STATES
2008-05-01 15:42:04
 

okay it looks like this is server specific. mediatemple is allowing me to run that but doteasy server is not.

Showing 1 - 4 of 4 posts in Forum > Support > changing default dir w/ htaccess
 

You need to be logged in to post.