-=| glaskoncILLa, Tue, Jun 29, 2010 at 10:37:39PM +0200 |=- > Example from my testing VM; > > -rwxr--r-- 1 root root 2211 Jun 14 20:09 > /usr/share/gestioip/index.cgi > > pointing browser on http://127.0.0.1/gestioip/index.cgi results with; > > tail -n 2 /var/log/apache2/error.log > [Tue Jun 29 21:56:01 2010] [error] (13)Permission denied: exec of > '/usr/share/gestioip/index.cgi' failed > [Tue Jun 29 21:56:01 2010] [error] [client 127.0.0.1] Premature end of > script headers: index.cgi, referer: http://127.0.0.1/gestioip/index.cgi > > well, I think is obvious what is the issue here, root:root doesnt seems > as best choice. root:root is fine. You just need to allow execution for everybody. Change the permissions to 0755 (-rwxr-xr-x) and see if it helps.
Attachment:
signature.asc
Description: Digital signature