M
mmcbee
Guest
This seems to be an issue in other parts of the forum but I am unable to find a solution
I cannot run the simplest of scripts in the "cgi-bin" directory in the root of any vhost domain. So as a qiuck fix I created a "cgi-local" directory in httpdocs and the scripts run fine
The os and plesk version is Fedora Core 2 + PSA v7.5.2
Error log shows:
[Tue Apr 26 10:32:16 2005] [error] [client ] failed to open log file /var/log/httpd/suexec_log
[Tue Apr 26 10:32:16 2005] [error] [client ] fopen: Permission denied
[Tue Apr 26 10:32:16 2005] [error] [client ] Premature end of script headers: test.pl
suexec_log shows
[2005-04-26 10:32:16]: uid: (10006/megamikersg) gid: (10001/10001) cmd: test.pl
suexec is as follows:
ls -la /usr/sbin | grep "suexec"
-r-s--x--- 2 root apache 18832 Jan 28 01:31 psa-suexec
-r-s--x--- 2 root apache 18832 Jan 28 01:31 suexec
-r-s--x--- 1 root apache 10856 Nov 12 10:21 suexec.saved_by_psa
-r-s--x--- 1 root apache 18692 Dec 8 10:39 suexec.saved_by_psa.01.10;05:42
-r-s--x--- 1 root apache 18692 Dec 16 05:31 suexec.saved_by_psa.02.07;15:26
-r-s--x--- 1 root apache 18692 Nov 17 10:41 suexec.saved_by_psa.11.23;12:03
-r-s--x--- 1 root apache 18692 Nov 22 14:26 suexec.saved_by_psa.11.29;13:04
-r-s--x--- 1 root apache 18692 Nov 25 05:54 suexec.saved_by_psa.12.10;15:43
Any help would be appreciated
Thank you
Mike
I cannot run the simplest of scripts in the "cgi-bin" directory in the root of any vhost domain. So as a qiuck fix I created a "cgi-local" directory in httpdocs and the scripts run fine
The os and plesk version is Fedora Core 2 + PSA v7.5.2
Error log shows:
[Tue Apr 26 10:32:16 2005] [error] [client ] failed to open log file /var/log/httpd/suexec_log
[Tue Apr 26 10:32:16 2005] [error] [client ] fopen: Permission denied
[Tue Apr 26 10:32:16 2005] [error] [client ] Premature end of script headers: test.pl
suexec_log shows
[2005-04-26 10:32:16]: uid: (10006/megamikersg) gid: (10001/10001) cmd: test.pl
suexec is as follows:
ls -la /usr/sbin | grep "suexec"
-r-s--x--- 2 root apache 18832 Jan 28 01:31 psa-suexec
-r-s--x--- 2 root apache 18832 Jan 28 01:31 suexec
-r-s--x--- 1 root apache 10856 Nov 12 10:21 suexec.saved_by_psa
-r-s--x--- 1 root apache 18692 Dec 8 10:39 suexec.saved_by_psa.01.10;05:42
-r-s--x--- 1 root apache 18692 Dec 16 05:31 suexec.saved_by_psa.02.07;15:26
-r-s--x--- 1 root apache 18692 Nov 17 10:41 suexec.saved_by_psa.11.23;12:03
-r-s--x--- 1 root apache 18692 Nov 22 14:26 suexec.saved_by_psa.11.29;13:04
-r-s--x--- 1 root apache 18692 Nov 25 05:54 suexec.saved_by_psa.12.10;15:43
Any help would be appreciated
Thank you
Mike