httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Pifer <>
Subject Re: [users@httpd] [client] client denied by server configuration: /srv/www/htdocs/
Date Wed, 18 Feb 2009 21:29:47 GMT
> First, it has nothing to do with the user under which Apache runs.
> According to the message above, it is the /client/ that is being denied 
> by the server.  It also says that the client is "calling" /from/ the 
> address, which is the localhost (the Apache machine itself).
> So you have something running on your Apache machine, which tries to 
> access that website on that same machine.
> Since it appears constantly, my guess is that is some automatic process, 
> probably something running to just check the server. Nagios maybe ?

Yes, that's what it seems like, but I can't see anything it could be. I
do monitor http from another server which checks for index.html
periodically. That is all successful. 

Only thing I see in the access log is a bunch of: - - [18/Feb/2009:15:26:39 -0600] "GET / HTTP/1.1" 403 1039 - - [18/Feb/2009:15:28:26 -0600] "GET / HTTP/1.0" 403 1051

> If you have perl installed on that Suse machine, try the following 
> command, from a command-line window on the same machine :
> lwp-request -m GET -Sed http://localhost
> and post here what it answers.

I get:
# lwp-request -m GET -Sed http://localhost
GET http://localhost --> 403 Forbidden
Connection: close
Date: Wed, 18 Feb 2009 21:26:39 GMT
Accept-Ranges: bytes
Server: Apache/2.2.3 (Linux/SUSE)
Vary: accept-language,accept-charset
Content-Language: en
Content-Type: text/html; charset=iso-8859-1
Client-Date: Wed, 18 Feb 2009 21:26:39 GMT
Client-Response-Num: 1
Client-Transfer-Encoding: chunked
Link: <>; /="/"; rev="made"
Title: Access forbidden!

So that basically confirms that localhost is denied. How do I allow
access and does it seem safe to allow it?

The configuration is:
 <Directory /srv/www/htdocs/>
  AllowOverride None
  Order allow,deny
  Allow from all


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