On 07/06/2013 08:51, Νικόλαος Κούρας wrote:
Finally no suexec erros any more after chown all log files to nobody:nobody and
thei corresponding paths.
Now the error has been transformed to:
[Fri Jun 07 10:48:47 2013] [error] [client 79.103.41.173] (2)No such file or
directory: exec of '/home/nikos/public_html/cgi-bin/koukos.py' failed
[Fri Jun 07 10:48:47 2013] [error] [client 79.103.41.173] Premature end of
script headers: koukos.py
[Fri Jun 07 10:48:47 2013] [error] [client 79.103.41.173] File does not exist:
/home/nikos/public_html/500.shtml
but from interpretor view:
ni...@superhost.gr [~/www/cgi-bin]# python koukos.py
Set-Cookie: nikos=admin; expires=Mon, 02 Jun 2014 07:50:18 GMT; Path=/
Content-type: text/html; charset=utf-8
ΑΠΟ ΔΩ ΚΑΙ ΣΤΟ ΕΞΗΣ ΔΕΝ ΣΕ ΕΙΔΑ, ΔΕΝ ΣΕ ΞΕΡΩ, ΔΕΝ ΣΕ ΑΚΟΥΣΑ! ΘΑ ΕΙΣΑΙ ΠΛΕΟΝ Ο
ΑΟΡΑΤΟΣ ΕΠΙΣΚΕΠΤΗΣ!!
(2)No such file or directory: exec of
'/home/nikos/public_html/cgi-bin/koukos.py' failed
???? Can find what? koukos.py is there inside the cg-bin dir with 755 perms.
It's looking for '/home/nikos/public_html/cgi-bin/koukos.py'.
Have a look in '/home/nikos/public_html/cgi-bin'. Is 'koukos.py' in
there?
--
http://mail.python.org/mailman/listinfo/python-list