httpd-users mailing list archives

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

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

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

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

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

In the error_log I get:

[Sun Jun 23 18:56:50 2002] [error] [client] client denied by server configuration:

Any ideas about what's wrong here?

Alexander Skwar
How to quote: (german) (english)
Homepage:      |    Jabber: - Die g√ľnstige Art an Linux Distributionen zu kommen
                       Uptime: 8 hours 38 minutes

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message