Errin when executing a cgi script that sets a cookie in the browser

Νικόλαος Κούρας nikos.gr33k at gmail.com
Thu Jun 6 02:25:14 EDT 2013


root at nikos [~]# chmod 755 /var/log
root at nikos [~]# chmod 755 /var/log/httpd
root at nikos [~]# chmod 666 /var/log/httpd/suexec.log

root at nikos [~]# chmod 755 /usr/local/apache
root at nikos [~]# chmod 755 /usr/local/apache/logs/
root at nikos [~]# chmod 666 /usr/local/apache/logs/error_log


and then execute via browser:  http://superhost.gr/cgi-bin/koukos.py
still same error appearing:

[Thu Jun 06 09:23:54 2013] [error] [client 79.103.41.173] suexec failure: could not open log file
[Thu Jun 06 09:23:54 2013] [error] [client 79.103.41.173] fopen: Permission denied
[Thu Jun 06 09:23:54 2013] [error] [client 79.103.41.173] Premature end of script headers: koukos.py





More information about the Python-list mailing list