httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paolo Cavicchini <p.cavicch...@ifinet.it>
Subject An Apache/Linux newbee's question - 2
Date Wed, 06 Mar 2002 07:36:12 GMT
Hello,
I've just installed my Apache on my Linux RH.
When I try to run a CGI script (e.g. the printenv script in the cgi-bin
directory), Apache say me "Forbidden".
I checked ScriptAlias (it's OK), I checked file permissions (they're OK), I
checked the shebang in the script (it's OK).
If I run the script manually (./printenv) it runs properly (but it doesn't
run if I write only "printenv" without "./" before).

Please, could you give me any help?
---
Hello,
I've just checked the file permissions: they are 777 on printenv (!).
I think this is sufficient.
But it doesn't work again.
I can open the html pages without problems, but I cannot run any CGI script.
With Apache on Windows 2000 it runs perfectly.

Below you can see my cgi-bin directory:

[root@IDS cgi-bin]# pwd
/usr/local/apache/cgi-bin
[root@IDS cgi-bin]# ls -al
totale 24
drwxr-x---    2 root     root         4096 mar  6 07:44 .
drwxr-xr-x   12 root     root         4096 mar  5 15:26 ..
-rwxrwxrwx    1 mino     mino          268 mar  5 18:07 printenv
-rwxr-x---    1 mino     mino          757 ott 15 18:21 test-cgi
...

Could you give me any help?
Thank you
Paolo

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message