You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by PayalR <pa...@hotpop.com> on 2002/08/05 20:18:03 UTC

cgi-bin

Hi all,
I am new to apache and am running default apache which came with Mdk Linux 
8.2. My problem is that I cannot run cgi files on my machines. I am giving 
some config details below.

httpd -v
Server version: Apache-AdvancedExtranetServer/1.3.23 (Mandrake Linux/4mdk)
Server built:   Mar  4 2002 21:08:36

In /var/
drwxr-xr-x    6 apache   apache       4096 Jul 21 18:21 www//
In /var/www/
drwxr-xr-x    2 apache   apache       4096 Jul 28 23:32 cgi-bin/
In /var/www/cgi-bin/
-rwxr-xr-x    1 apache   apache      20847 Mar 15 02:58 squidGuard.cgi*

# links http://127.0.0.1/cgi-bin/squidGuard.cgi
You don't have permission to access /cgi-bin/squidGuard.cgi on this server.

#tail /var/log/httpd/error_log
[Mon Aug  5 23:12:15 2002] [error] [client 127.0.0.1] client denied by server 
configuration: /var/www/cgi-bin/squidGuard.cgi

Last lines of /etc/httpd/conf/httpd.conf contains, (added by me)

ScriptAlias /cgi-bin/ "/var/www//cgi-bin/"
<Directory /var/www/cgi-bin/>
AllowOverride All
Options ExecCGI
</Directory>


Still I am getting the above error. What must the problem? Please help out. 
Thanks a lot and waiting for the replies eagerly.
With regards.
-Payal

p.s I tried with many files with the same result.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org