Re: CGI works, but client denied error messages in error.log

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2007-08-08, Vincent Bray <noodlet@xxxxxxxxx> wrote:
> On 08/08/2007, Georg Sauthoff <g_sauthoff@xxxxxx> 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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux