Can httpd reduce the number of values in the incoming X-Forwarded-For header?

Solution Verified - Updated -

Issue

  • We use an httpd proxy in front of our application server. Clients access httpd through a number of other balancers and proxies. So by the time the request reaches the backend app server, there are 3 or more values in the X-Forwarded-For header. This causes issues for the application so is there some way the X-Forwarded-For values could be reduced in the request as it passes through the httpd proxy before the app server?

Environment

  • JBoss Core Services (JBCS) Apache httpd 2.4.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