How to handle Access, Deny order in Apache?

Solution Verified - Updated -

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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In