You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Simon Bell <ad...@thelight.org.uk> on 2004/03/27 17:18:21 UTC

[users@httpd] server-status access

Im having a little trouble restricting /server-status to only be accessed by
certain hosts. In my conf file I have

<Location /server-status>
     SetHandler server-status
</Location>

<Location /server-status>
     Allow from 127.0.0.1
     Allow from anotheripaddress
</Location>

<Location /server-status>
     Deny from all
</Location>

<Location /server-status>
     Order Allow,Deny
</Location>

If I use allow,deny as the order, everyone can access /server-status, if I
use deny,allow, no one including the address's im using can access it.

What am I doing wrong?