send apache request identifier to backend when using mod_rewrite

Posted by Jose L Martinez-Avial on Server Fault See other posts from Server Fault or by Jose L Martinez-Avial
Published on 2012-11-23T09:45:56Z Indexed on 2012/11/23 11:02 UTC
Read the original article Hit count: 406

Filed under:
|

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

© Server Fault or respective owner

Related posts about apache2

Related posts about mod-rewrite