htaccess DirectoryIndex setting can cause problems
Posted: Thu Dec 29, 2005 3:30 am
This is more of a feature suggestion than a support request:
I recently did a fresh, "easy" install. At the time my domain name wasn't pointing to my freepgs.com account, so the installation was in a subdirectory (i.e. http://freepgs.com/danieldickison/blog/) even though eventually the blog would be hosted at http://danieldickison.com/blog/. The htaccess file has
DirectoryIndex /danieldickison/blog/index.php
which breaks once you start using the domain name without the /danieldickison subdirectory. I thought that using
DirectoryIndex index.php
would be sufficient, and would avoid this problem for new users.
Daniel
I recently did a fresh, "easy" install. At the time my domain name wasn't pointing to my freepgs.com account, so the installation was in a subdirectory (i.e. http://freepgs.com/danieldickison/blog/) even though eventually the blog would be hosted at http://danieldickison.com/blog/. The htaccess file has
DirectoryIndex /danieldickison/blog/index.php
which breaks once you start using the domain name without the /danieldickison subdirectory. I thought that using
DirectoryIndex index.php
would be sufficient, and would avoid this problem for new users.
Daniel