Help - Search - Members - Calendar
Full Version: Please help with cgi problem
The Planet Forums > Control Panels > Plesk
rastoma
Basically I can't get any cgi scripts to run. If I remove the cgi-bin directory and recreate it.. use 755 permission.. SOMETIMES the scripts under will start working. I've uncommented the addhandler for cgi. Path to perl is correct. Again.. After reuploading and just doing random things to the permissions the scripts will work... for a day.. then with no other mods done they just stop working.

I've checked error logs and they show nothing but premature end of script errors and I've triple checked the scripts were uploaded ascii. All domains in plesk are having this problem and cgi is turned on in plesk.

Any suggestions?
Ales
Well, we had some difficulties with Perl... Premature end of script headers is not a very helpful error message... and I've seen a lot of that icon_sad.gif

Do you have any additional info from suexec logs ( /usr/local/psa/apache/logs/suexec_log )?

There might be more separate problems, appearing as one. We mainly had troubles with qmail, hostname and DNS...

Hope this helps,
Ales
rastoma
The su_exec showed normal execution.. no errors.

For whatever reason I can't explain... after the 4 FOURTH time of removing the cgi script and reuploading in ASCII mode (was ascii the other 3 times as well) it just worked. I don't know why.

Thanks for the offer though.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.