httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anthony J. Biacco" <abia...@formatdynamics.com>
Subject RE: [users@httpd] [client 127.0.0.1] client denied byserverconfiguration: /srv/www/htdocs/
Date Wed, 18 Feb 2009 22:51:06 GMT
That directory / deny will cause your 403 error, as well it should. I
wouldn't remove it.
If you want localhost to work, make sure the Directory block for
/srv/www/htdocs/ you have is in the first virtualhost you have
configured, as this is the virtualhost that apache will fall back on by
default if it doesn't find one for localhost (which it shouldn't unless
you have one called 'localhost')

-Tony
---------------------------
Manager, IT Operations
Format Dynamics, Inc.
303-573-1800x27
abiacco@formatdynamics.com
http://www.formatdynamics.com


-----Original Message-----
From: James Pifer [mailto:jep@obrien-pifer.com] 
Sent: Wednesday, February 18, 2009 2:55 PM
To: users@httpd.apache.org
Subject: RE: [users@httpd] [client 127.0.0.1] client denied
byserverconfiguration: /srv/www/htdocs/

On Wed, 2009-02-18 at 14:49 -0700, Anthony J. Biacco wrote:
> Hmm..do you have a <Directory /> block that's maybe denying it, or
lack
> of one?

Ok, found this in the main httpd.conf. The virtual servers are all
includes. So is it "safe" to comment this out? 

# forbid access to the entire filesystem by default
<Directory />
    Options None
    AllowOverride None
    Order deny,allow
    Deny from all
</Directory>

James


---------------------------------------------------------------------
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


---------------------------------------------------------------------
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