i trying to setup apache as a reverse proxy and i need to add e.g. the REMOTE_ADDR and some other values as an header (required by the backend), for some reason always "null" is set.
Ignoring the proxy part, setting a header should be fairly simple and is working without any problems: Header set x-remote test
So mod_headers should work, otherwise the header wouldn't be set?!
trying to set the REMOTE_ADDR or any other VAR (SERVER_NAME, HTTP_HOST), just sets "null"
Header set x-remote %{REMOTE_ADDR}e
The Syntax seems right and no error gets logged/shown anywhere. redis-/enable mod_headers didn't work neither reinstalling everything... Running on SLES 15SP4