[nylug-talk] Apache problem
Ajai Khattri
ajai at bitblit.net
Thu Feb 14 10:26:43 EST 2008
On Thu, 14 Feb 2008, Fitzsimmons, Donald C. wrote:
> I'm running Apache/2.2.6 and I'm getting this error in
> /etc/httpd/logs/error_log.
> [Thu Feb 14 09:24:14 2008] [error] [client x.x.x.x] client denied by
> server configuration: /var/www/html/usage/, referer:
> http://machinename:100/
>
> I can't get to http://machinename:100/usage I get that error and a
> forbidden message saying I don't have access to /usage/ in the browser.
>
> I did a search on google and nylug and found that other people with a
> similar issue added this:
> Order allow,deny
> Allow from all
>
> I added it however for me it still didn't work.
Did you restart Apache?
> What's really strange is
> I have no issue hitting /var/www/html or /var/www/html/squint but I do
> have an issue with /var/www/html/usage. I also checked the permissions
> of the usage folder and it's contents. They match /var/www/html/squint.
> As well as the owner and group.
> <Directory "/var/www/html">
> Options Indexes Includes FollowSymLinks
> AuthType Basic
> AuthName "Private Access"
> AuthUserFile /usr/local/apache/passwords
> Require valid-user
> AllowOverride None
> Order deny,allow
> Allow from all
> </Directory>
What happens when you change that Options line to read "Options All" ?
(and restart Apache of course)
--
Aj.
More information about the nylug-talk
mailing list