You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wiki-changes@httpd.apache.org by Apache Wiki <wi...@apache.org> on 2006/10/17 00:50:26 UTC
[Httpd Wiki] Update of "Errors/ClientDeniedByServerConfiguration" by pctony
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Httpd Wiki" for change notification.
The following page has been changed by pctony:
http://wiki.apache.org/httpd/Errors/ClientDeniedByServerConfiguration
The comment on the change is:
copied from ebp-moin
New page:
= Client denied by server configuration =
Access was denied by a deny directive. This means that the access to the directory on the hard disk was denied by an Apache configuration. [[BR]] This could be due to an expliciy deny directive being set, or more likely a folder that is outside of the documentroot is being accessed.
A few possible reasons to cause this entry to be recorded in your !ErrorLog
* If you changed the !DocumentRoot, also change the <Directory> Block from the old root, to the new folder.
* You need a <Directory> block for every folder outside of your !DocumentRoot, i.e. your cgi-bin folder.
* You need a <Directory> or <Location> block for every Alias.
To fix this problem, look at the line in your !ErrorLog, and it will show you the folder it is trying to access. [[BR]] You will now need to add a <Directory> block in your Apache configuration file. See the example below for folder /usr/local/awstats/htdocs
{{{
<Directory /usr/local/awstats/htdocs>
Order allow,deny
Allow from all
</Directory>
}}}
This directory block will allow Apache to serve files from this location, to any incoming request