How to dynamically set HTTP Header in Apache 2.2?
- by Michael
Seems like this should be easy, but I cannot figure out the syntax. In Apache, I want to use the value of an existing request header to set a new request header. Some simple non-working code that illustrates what I'd like to do:
RequestHeader set X-Custom-Host-Header "%{HTTP_HOST}e"
Ideally, this would make a new HTTP header in the request…