[nylug-talk] Apache problem

Andres Pereira andresp at gmail.com
Thu Feb 14 14:10:49 EST 2008


On Thu, Feb 14, 2008 at 9:56 AM, Fitzsimmons, Donald C.
<donald.fitzsimmons at kattenlaw.com> 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.
>  Here is what I have in my httpd.conf file that differs from the default.

Your Apache config might be including another config files. For
instance, if you are using Red Hat (or CentOS) you will find those
files under /etc/httpd/conf.d, particularly there is a file called
webalizer.conf that contains this:

Alias /usage /var/www/usage

<Location /usage>
    Order deny,allow
    Deny from all
    Allow from 127.0.0.1
    # Allow from .example.com
</Location>

Anyway, just grep for the word 'usage' (grep -ri 'usage' /etc/httpd)
so you can find that Alias...

Thanks,

-- 
Andrés Pereira


More information about the nylug-talk mailing list