Page 1 of 1

500 Internal Server Error (after posting)

Posted: Mon Apr 07, 2008 10:45 am
by carlitocabana
I'm using Serendipity V1.1 for my blog
Since yesterday i'm receiving a 500 Internal Server Error after I post a new entry.
I noticed I receive this message when I post a big entry when I post a small entry say 1 line it works like a charm.

The error:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@DOMAIN.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request

Re: 500 Internal Server Error (after posting)

Posted: Mon Apr 07, 2008 11:35 am
by garvinhicking
Hi!

This can happen because of fatal PHP errors or if your provider put some restrictions on you, or uses mod_security. Please talk to your provider to inspect the CGI/PHP error log and check his mod_security/suhosin usage.

Regards,
Garvin

Posted: Mon Apr 07, 2008 11:49 am
by carlitocabana
garvinhicking, thanks i will check this out i already mailed my hosting provider with the question.
i keep you uptodate :)

Posted: Tue Apr 08, 2008 4:44 pm
by carlitocabana
Hello maybe a solution for ppl that got this problem later.
This is how it was solved for me:

How to disable mod_security:
Create a .htacces in your web directory
put the following lines into the .htaccess file:

<IfModule mod_security.c>
SecFilterScanPOST Off
</IfModule>