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

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.