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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content