send apache request identifier to backend when using mod_rewrite
- by Jose L Martinez-Avial
I'm using mod_rewrite to send requests from the client to a backend server. I've seen in the rewrite log that Apache sets a sid (Session Identifier?) and rid (request identifier?) and shows them in the logs. Would it be possible to send the rid to the backend server as a http header? that way I can link a request in the apache with a request in the backend server.
[localhost/sid#7f48e8ad2968][rid#7f48e8e634c8/initial] (3) ...
Thanks