mod_rewrite does not pick up headers from other modules

Solution Verified - Updated -

Issue

  • We have a module in httpd that is adding a header to a request. We want mod_rewrite to redirect based upon that header value, but it does not see any header value:
RewriteRule ^/(.*)$ /$1?remoteUser=%{HTTP:FUSION_REMOTE_USER} [QSA,NC,PT,L]

Environment

  • Apache httpd

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