Hi.

I'm unable to run any CGI programs from /cgi-bin/ using
apache-1.3.24-2mdk.  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: [EMAIL PROTECTED]
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
                       Uptime: 8 hours 33 minutes

Reply via email to