RE: [client 127.0.0.1] client denied byserverconfiguration: /srv/www/htdocs/

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

 



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@xxxxxxxxxxxxxxxxxx
http://www.formatdynamics.com


-----Original Message-----
From: James Pifer [mailto:jep@xxxxxxxxxxxxxxxx] 
Sent: Wednesday, February 18, 2009 2:55 PM
To: users@xxxxxxxxxxxxxxxx
Subject: RE:  [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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


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