L
links2world
Guest
Hello,
Pleak 8.0.0, I have problems running cgi scripts. I have the following cgi script:
However, this is not working. In the access_log I havethe following error:
and in the error_log I have the following:
Any ideea? Thanks.
Pleak 8.0.0, I have problems running cgi scripts. I have the following cgi script:
[root@columbia cgi-bin]# pwd
/var/www/vhosts/domain.net/cgi-bin
[root@columbia cgi-bin]# cat test.cgi
#!/bin/bash
echo -e "Content-type: text/html\n\n";
echo lol
[root@columbia cgi-bin]# ls -la test.cgi
-rwxr-xr-x 1 domain psacln 60 Apr 29 15:45 test.cgi
[root@columbia cgi-bin]#
[root@columbia cgi-bin]#
However, this is not working. In the access_log I havethe following error:
80.186.x.x - - [29/Apr/2006:16:15:16 +0300] "GET /cgi-bin/test.cgi HTTP/1.1" 500 1263 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)"
and in the error_log I have the following:
[Sat Apr 29 16:15:15 2006] [error] [client 80.186.x.x] failed to open log file /var/log/httpd/suexec_log
[Sat Apr 29 16:15:15 2006] [error] [client 80.186.x.x] fopen: Permission denied
[Sat Apr 29 16:15:15 2006] [error] [client 80.186.x.x] Premature end of script headers: test.cgi
Any ideea? Thanks.