Page 1 of 1

500 server error when accessing index.php?

Posted: Sun Nov 16, 2003 1:29 am
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!

Posted: Sun Nov 16, 2003 5:58 pm
by tomsommer
Is your .htaccess working?

Posted: Sun Nov 16, 2003 8:01 pm
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.

Posted: Sat Nov 29, 2003 11:37 am
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.

Posted: Sun Nov 30, 2003 5:10 pm
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>

Posted: Sun Nov 30, 2003 6:50 pm
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