I wanted to use mod_status so I set -D INFO in /etc/conf.d/apache2 and
my /etc/httpd.conf cotains the following:

<IfDefine INFO>
    ExtendedStatus On
    <Location /server-status>
        SetHandler server-status
        Order deny,allow
        Deny from all
        Allow from localhost
    </Location>
</IfDefine>

Looks to me as though it should allow connections from localhost, but
it doesn't, I get 403 Forbidden.

If I comment out the lines Deny from all, Allow from localhost it
works, but not as it is written i the default file as quoted above.

What am I doing wrong?

Reading the manual here makes me believe it should be working:

http://httpd.apache.org/docs/2.0/mod/mod_access.html#order





-- 
gentoo-user@gentoo.org mailing list

Reply via email to