I am running REHL 6.7 with the stock Apache httpd-2.2.
I have enabled mod_status at the Location /server-status. I would like to allow access to this single Location in the following way:
- Deny from all
- Allow from within my servers subnet with IP range unknown and deny all not within my subnet
This is what my rule currently looks like for the location I want to allow access to within my subnet only (Currently it is denying all even within subnet since that how the rule is currently written).
<Directory "/var/www/html/example">
Order allow,deny
Deny from all
AllowOverride None
</Directory>