PDA

View Full Version : suexec policy violation on fcgi file



psyferre
11-09-2009, 05:08 PM
Hey folks! I hope someone can give me a nudge in the right direction.

I'm trying to get a pinax (django) installation working and for whatever reason every time I hit my address I get a 500 error. The logs aren't terribly helpful as they just show:


suexec policy violation: see suexec log for more details
[Mon Nov 09 16:49:15 2009] [error] [client 72.23.x.x] Premature end of script headers: dispatch.fcgi

In SUEXEC log, I have:


[2009-11-09 16:49:15]: uid: (2857/username) gid: (2857/username) cmd: dispatch.fcgi

I've searched the forums and googled my brains out, and found all sorts of references to problems like mine, but all seem to be resolved by changing permissions. I've tried 705, 755, and several other combinations, but so far no dice.

Can anyone help? :confused:

farcaster
11-09-2009, 05:31 PM
I am thinking that if you go to the Live Chat with Bluehost Support, they might be able to shed some light on the problem you are having.

From the main Bluehost page (http://www.bluehost.com) click on Live Chat

psyferre
11-11-2009, 11:58 AM
Found the problem! If anyone else is having the same issue, check to make sure that whatever you're using has the appropriate handle at the top. My fcgi script was in python, so I had to have #!/usr/bin/python at the top.

:o