500 server error when accessing index.php?

Having trouble installing serendipity?
Post Reply
DarkHand
Posts: 2
Joined: Sun Nov 16, 2003 1:04 am

500 server error when accessing index.php?

Post by DarkHand »

This is more of a problem with the server I'm running serendipity on, as this didn't happen on another server I used to test with...

I recieve a 500 server error when attempting to access index.php. I can access serendipity_admin.php, but there is no background or images. serendipity_admin.php seems to properly set itself up after giving it all the proper info, too, but I can't access index.php to tell.

What would I need to check to diagnose this problem? I'm running serendipity on a shared host that I don't have many privilages on. FTP and SSH are available however.

If it helps, I've got a link to the phpinfo file on the server:
http://www.civic-minded.com/phpinfo.php

Thanks in advance!
tomsommer
Core Developer
Posts: 240
Joined: Tue Sep 02, 2003 6:43 pm
Location: Denmark
Contact:

Post by tomsommer »

Is your .htaccess working?
Tom Sommer (Serendipity Core Developer)
http://blog.dreamcoder.dk
DarkHand
Posts: 2
Joined: Sun Nov 16, 2003 1:04 am

Post by DarkHand »

tomsommer wrote:Is your .htaccess working?
I created a test directory and was able to turn directory listing on and off using .htaccess, so I think it's working.
jhermanns
Site Admin
Posts: 378
Joined: Tue Apr 01, 2003 11:28 pm
Location: Berlin, Germany
Contact:

Post by jhermanns »

please make sure you follow the instructions described in this post: http://php-blog.sourceforge.net/forums/ ... light=#229

That should solve your problem.
StayPuft
Posts: 1
Joined: Sun Nov 30, 2003 4:49 pm

Post by StayPuft »

I am also getting the internal server error 500 when attempting to access index.php, but I'm using a professional webhost rather than a localhost server (the fix instructions posted by jhermanns seem to be for a localhost issue).

Here's what my .htaccess file looks like:

Code: Select all

ErrorDocument 404 /blog/index.php
DirectoryIndex /blog/index.php

<Files *.tpl>
    deny from all
</Files>

<Files *.sql>
    deny from all
</Files>

<Files *.inc.php>
    deny from all
</Files>

<Files sqlite.db>
    deny from all
</Files>
tomsommer
Core Developer
Posts: 240
Joined: Tue Sep 02, 2003 6:43 pm
Location: Denmark
Contact:

Post by tomsommer »

StayPuft wrote:(the fix instructions posted by jhermanns seem to be for a localhost issue).
)It's not... It's a general issue, ask your host about it
Tom Sommer (Serendipity Core Developer)
http://blog.dreamcoder.dk
Post Reply