How to whitelist the client IP in Location tag for Apache webserver

Solution Verified - Updated -

Issue

  • How to whitelist the client IP coming through X-Forwarding-For and what will be the syntax/tag to be used in Location tag for Apache HTTPD ?

Environment

  • Red Hat JBoss Web Server
    • 2.1.0 (Apache HTTPD 2.2.x)
  • JBoss Core Services
    • Apache HTTPD 2.4.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