Mám to i tak, ale i tak to nefunguje v logu to pořád hlásí špatný adresář, místo /home/www/cgi-bin/ tam je /usr/lib/cgi-bin/ nevím proč.
EDIT: Teď už je tam něco jiného:
[Sat May 19 14:10:32 2012] [notice] caught SIGTERM, shutting down
[Sat May 19 14:10:33 2012] [notice] Apache/2.2.20 (Ubuntu) PHP/5.3.6-13ubuntu3.$
[Sat May 19 14:10:36 2012] [error] [client 192.168.1.124] (8)Exec format error:$
[Sat May 19 14:10:36 2012] [error] [client 192.168.1.124] Premature end of scri$
[Sat May 19 14:10:37 2012] [error] [client 192.168.1.124] (8)Exec format error:$
[Sat May 19 14:10:37 2012] [error] [client 192.168.1.124] Premature end of scri$
[Sat May 19 14:14:17 2012] [error] [client 192.168.1.124] (8)Exec format error:$
[Sat May 19 14:14:17 2012] [error] [client 192.168.1.124] Premature end of scri$
[Sat May 19 14:14:18 2012] [error] [client 192.168.1.124] (8)Exec format error:$
[Sat May 19 14:14:18 2012] [error] [client 192.168.1.124] Premature end of scri$