500 internal server error / suexec policy violation

I host my photo collections on the site (www.theclickpic.com abhi.nl). I host it on PixelPost and have a rating system installed as well (using Ajaxrating).  The basic working is that once the user clicks on the rating, it updates the MySQL database table. For some reason it started giving me the following error :

“The server encountered an unexpected condition which prevented it from fulfilling the request.

The script had an error or it did not produce any output. If there was an error, you should be able to see it in the error log”.

After doing some detail R&D I found in the webserver logs that there is an error message :


20110614T163352: photos.abhiztips.com/addons/_ajaxratings/ajax_ratings/db.php suexec policy violation: see suexec log for more details

At least I narrowed it down to this suExec error.

Finally the solution ::

It turned out that I had the Ajaxrating plugin folder on my server with access  right 777. After changing it to 775 as required by the Webserver policy, it got resolved!!

So in summary if you start getting the SuExec policy violation error, try checking the directory permission and set it to 775

Do Google for more results

-Abhi