Page 1 of 1

url for front page goes to list of files

Posted: Thu Mar 05, 2009 12:19 am
by kareneb1
We just installed Serendipity for testing. We can't figure out why when we click the name of our blog at the top of the page it takes us to a list of files instead of to the front page. We see that the url associated with the name looks like this

http://nola.uhcl.edu/serendipity/

but the url should look like this

http://nola.uhcl.edu/serendipity/index.php

Did we do something wrong in the installation? We run this on Windows XP OS and Apache.

Re: url for front page goes to list of files

Posted: Thu Mar 05, 2009 2:42 am
by Don Chambers
I don't know anything about Windows XP OS, but that directory listing includes a file named index.php.htaccess - I think that file should simply be named .htaccess (ie, no "index.php.".

Hopefully those more knowledgeable than me will chime in, but you could try renaming the file and see if it solves the problem. Of course, my concern is why did that file get named that way in the first place, or does it in fact have the correct name, but just appears that way in the file listing.... :?

Re: url for front page goes to list of files

Posted: Thu Mar 05, 2009 10:00 am
by garvinhicking
Hi!

Indeed, this is due to your webserver setup. Serendipity tries to use the directive "DirectoryIndex index.php" to instruct your server to use index.php as the default page. In your case, it seems your server either does not interpret Serendipity's .htaccess file, or it does not allow overriding configuration directives. In this case, you must talk to your server provider to either set "AllowOverride All" in your virtual host context, or set "DirectoryIndex index.php" in your VHost context.

HTH,
Garvin

Re: url for front page goes to list of files

Posted: Thu Mar 05, 2009 9:26 pm
by kareneb1
Thank you both for your replies. The webserver configuration file change worked.