url for front page goes to list of files

Having trouble installing serendipity?
Post Reply
kareneb1
Posts: 2
Joined: Thu Mar 05, 2009 12:13 am

url for front page goes to list of files

Post 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.
Don Chambers
Regular
Posts: 3657
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: url for front page goes to list of files

Post 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.... :?
=Don=
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: url for front page goes to list of files

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
kareneb1
Posts: 2
Joined: Thu Mar 05, 2009 12:13 am

Re: url for front page goes to list of files

Post by kareneb1 »

Thank you both for your replies. The webserver configuration file change worked.
Post Reply