root@nikos [~]# chmod 755 /var/log root@nikos [~]# chmod 755 /var/log/httpd root@nikos [~]# chmod 666 /var/log/httpd/suexec.log
root@nikos [~]# chmod 755 /usr/local/apache root@nikos [~]# chmod 755 /usr/local/apache/logs/ root@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 -- http://mail.python.org/mailman/listinfo/python-list