Page 1 of 1

htaccess DirectoryIndex setting can cause problems

Posted: Thu Dec 29, 2005 3:30 am
by dand
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

Re: htaccess DirectoryIndex setting can cause problems

Posted: Thu Dec 29, 2005 1:29 pm
by garvinhicking
Actually this directive won't work for directoryIndex redirection if you use /archives or other URLs...

Serendipity can only work with one path setup. You can use different VHosts pointing to the same directory, but when the paths change in your URI, this is not supported by Serendipity...

Regards
Garvin