Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What file do I edit in my apache2 folder that will give a specific IP address permission to access my "server-status?" page?

share|improve this question
up vote 6 down vote accepted

The same way you grant access to any other location:

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

Replace with whatever IP you want to whitelist.

share|improve this answer
Which file would I add this to? – user578697 Mar 13 '12 at 1:04
This depends completely on how your server is set up. If it's a Debian-derivative, probably in /etc/apache2/mods-enabled/status.conf. – EEAA Mar 13 '12 at 1:05
So I added my computer's LAN IPV4 address to the list and then tried accessing it and it still doesn't work. I'm still getting a Forbidden 403 error. – user578697 Mar 13 '12 at 1:19
You need to restart apache after the change. – EEAA Mar 13 '12 at 1:20

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.