httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Georg Sauthoff <g_sauth...@web.de>
Subject [users@httpd] Re: CGI works, but client denied error messages in error.log
Date Wed, 08 Aug 2007 09:12:58 GMT
On 2007-08-08, Vincent Bray <noodlet@gmail.com> wrote:
> On 08/08/2007, Georg Sauthoff <g_sauthoff@web.de> wrote:
>> 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
>> file.
[..]
>> Browser output from 127.0.0.1/project/bar:
>> very big: Hello World!

>> Error message in error.log:
>> [client 127.0.0.1] client denied by server configuration: /var/www/bar
[..]
> How perplexing. It's odd that the error message is for /var/www/bar

Yes, very odd, indeed.

> and any project/cgi-bin parts. I wonder if there's more than one
> request involved, possibly for something like a favicon.ico file?
> Check your access log as well as the error log and see how many
> entries you get per request.

Well, the access.log contains just one enty per cgi-request:
127.0.0.1 - - [08/Aug/2007:11:08:32 +0200] "GET /project/bar
HTTP/1.1" 200

I tcpdumped the connection and I only see two GET messages for each
cgi-request (which contain the requested url):
# tcpdump -i lo -A -s 0 -vv  | grep GET
...(...(GET http://127.0.0.1/project/bar HTTP/1.1
...4...4GET /project/bar HTTP/1.1

Best regards
Georg Sauthoff


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message