Originally Posted by
volkswagner
What are the permissions of the file?
Code:
ls -alt /var/www/cgi-bin
Hi here is the information:
Code:
root@:/var/www# ls -alt /var/www/cgi-bin/
total 8
drwxrwxrwx 2 root root 4096 2009-04-12 01:05 .
lrwxrwxrwx 1 root root 17 2009-04-12 01:05 cgi-bin -> /usr/lib/cgi-bin/
drwxr-xr-x 6 root root 4096 2009-04-12 00:56 ..
Code:
root@:/var/www# ls -alt /usr/lib/cgi-bin/
total 432
-r-xr-xr-x 1 root root 332929 2009-04-12 01:36 routers2.cgi
drw-r--r-- 2 root root 4096 2009-04-12 01:35 .
-rwxr-xr-x 1 root root 28284 2009-04-12 00:16 mrtg-rrd.cgi
drwxr-xr-x 64 root root 28672 2009-04-11 22:26 ..
-rwxr-xr-x 1 root root 39699 2001-12-12 22:27 14all-1.0.cgi
As you can see i have tried three different cgi scripts and all of them with same error message.
I did change the owner/group to www-data on all the files and directories and still did not work....my apache2 is running as www-data.
Thanks
Bookmarks