I have a requirement where I would like a response variable to be copied to a new header variable. i.e. a response variable called "Location" and to be copied to "X-Location". From apache documentation I can see that I can set new headers or edit existing headers but I cannot seem to be able to copy a existing header to another header. I am using apache 2.2 . Any pointers ?
Thanks Narsimha
Here is the solution
Header set X-Location "expr=%{resp:Location}"
This will copy response header Location to response header X-Location
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With