How to handle Access, Deny order in Apache?
Issue
The Allow
rule does not work when executed inside the network. However, it works when changing it to Allow from all
.
<Location /server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from example.com
</Location>
Environment
- Red Hat JBoss Web Sever (JWS)
- 2.x
- Apache httpd 2.2.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.