Sunday, January 18, 2015

[error] [client 127.0.0.1] client denied by server configuration: /home/izeye/programs/apache2.2/htdocs/server-status

You can encounter the following error in Apache:

[error] [client 127.0.0.1] client denied by server configuration: /home/izeye/programs/apache2.2/htdocs/server-status

Add 'Allow from 127.' to the 'conf/extra/httpd-info.conf' file as follows:

<Location /server-status>
    SetHandler server-status
    Order deny,allow
    Deny from all
    Allow from 10.
    Allow from 127.
</Location>

References:
https://wiki.apache.org/httpd/ClientDeniedByServerConfiguration
http://httpd.apache.org/docs/2.2/howto/access.html

No comments:

Post a Comment