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.
url for front page goes to list of files
-
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
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....
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
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
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/
# 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/
Re: url for front page goes to list of files
Thank you both for your replies. The webserver configuration file change worked.