Hi,
I'm trying to set an environment variable to be the same value as a request header. All I need to do is set the value of the environment variable to be the value of the header.
However, I can't find out how to do this...
If I try using set env and use %{HEADER_NAME} then I simply get the same text (%{HEADER_NAME}) as the value for the environment value.
I've searched the web extensively, but I can't find out anything on this. I would have thought that it must be possible?
I'm trying to set an environment variable to be the same value as a request header. All I need to do is set the value of the environment variable to be the value of the header.
However, I can't find out how to do this...
If I try using set env and use %{HEADER_NAME} then I simply get the same text (%{HEADER_NAME}) as the value for the environment value.
I've searched the web extensively, but I can't find out anything on this. I would have thought that it must be possible?