httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon <ad...@thelight.org.uk>
Subject [users@httpd] server-status / server-info protection
Date Wed, 14 Jul 2004 19:27:27 GMT
Im trying to restrict my server-info and server-status pages to 
localhost only using the following lines:

<Location /server-info>
      SetHandler server-info
      Order Deny,Allow
      Deny from all
      Allow from 127.0.0.1
</Location>
<Location /server-status>
      SetHandler server-status
      Order Deny,Allow
      Deny from all
      Allow from 127.0.0.1
</Location>

The problem is that for some reason, I can still access these pages from 
outside localhost. Are these lines correct/all that I need?

Mime
View raw message