httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Georg Sauthoff <>
Subject [users@httpd] CGI works, but client denied error messages in error.log
Date Tue, 07 Aug 2007 19:51:38 GMT

I have a working Apache 2 setup and Apache calls successfully the
cgi-scripts. The problem is, that for every successfull CGI-call I get a
'client denied by server configuration' error message into the error.log

This message conflicts with the fact, that the CGI-call was executed
successfully and I saw the correct output in the Web browser.

I am basically using a '/ Deny all' policy and a ScriptAlias definition.
A minimal example:

NameVirtualHost *
<VirtualHost *>
  DocumentRoot /var/www/

  <Directory />
    Options -FollowSymLinks -Indexes -Includes
    AllowOverride None
    Order Deny,Allow
    Deny from all

  ScriptAlias /project /var/www/project/cgi-bin/test.cgi
  <Directory /var/www/project/cgi-bin>
    Order Deny,Allow
    Allow from all

# cat test.cgi

cat out.min

# cat out.min
Content-Type: text/html; charset=utf-8
Status: 200 OK


Browser output from
very big: Hello World!

Error message in error.log:
[client] client denied by server configuration: /var/www/bar

Can someone explain me this behaviour? I don't understand this. This error
makes no sense for me, because the script execution works, apparently.

Best regards
Georg Sauthoff

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message