httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Skwar <lists.ASk...@DigitalProjects.com>
Subject Cannot execute CGI programs in /cgi-bin
Date Sun, 23 Jun 2002 19:44:49 GMT
Hi.

I'm unable to run any CGI programs from /cgi-bin/ using the Mandrake
apache-1.3.24-2mdk RPM on a MandrakeLinux Cooker system.  However, if I
put the same program into ~user/public_html/cgi-bin and access it via
http://localhost/~user/cgi-bin/prg, it runs fine.  The file is set to
executable in both directories.

My /etc/httpd/conf/commonhttpd.conf contains (amongst much more):

<Directory />
  Options -All -Multiviews
  AllowOverride None
  Order deny,allow
  Deny from all
</Directory>

<IfModule mod_alias.c>
    ScriptAlias /cgi-bin/ /var/www/cgi-bin/
</IfModule>

<Directory /var/www/cgi-bin>
    AllowOverride All
    #Options ExecCGI
    Options +ExecCGI -Includes -Indexes
    SetHandler cgi-script
</Directory>

<Directory /home/*/public_html/cgi-bin>
     Options +ExecCGI -Includes -Indexes
     SetHandler cgi-script
</Directory>

In the error_log I get:

[Sun Jun 23 18:56:50 2002] [error] [client 127.0.0.1] client denied by server configuration:
/var/www/cgi-bin/foo.php

Any ideas about what's wrong here?

Alexander Skwar
-- 
How to quote:	http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:	http://www.iso-top.de      |    Jabber: askwar@a-message.de
   iso-top.de - Die g√ľnstige Art an Linux Distributionen zu kommen
                       Uptime: 8 hours 38 minutes

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


Mime
View raw message