3 messages in ru.sysoev.nginxX-LIGHTTPD-SID
FromSent OnAttachments
smileyJun 23, 2007 8:26 am 
Evan MillerJun 23, 2007 9:11 am 
smileyJun 23, 2007 9:18 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:X-LIGHTTPD-SIDActions...
From:smiley (smil@public.gmane.org)
Date:Jun 23, 2007 8:26:55 am
List:ru.sysoev.nginx

Hi i was the one who mentioned the "X-LIGHTTPD-SID" feature @ http://wiki.codemongers.com/NginxFeatureRequests webpage

i looked over proxy_hide_header and that doesnt do what is required

bascialy as an example i have a php script like so:

----------------------------------

<?php

$session_id = '1234567890'; $file = '/tmp/10meg.file';

header( "X-LIGHTTPD-SID: $session_id ); header( "X-Accel-Redirect: $file");

?>

-----------------------------------

so therefore this script would send a test 10MB file to the client and the session_id would be logged into the access-log

this is an incredibly usefull feature as the logs can be parsed later to deduce how much bandwidth was used per session!

more on this (see last paragraph) @ this page: http://trac.lighttpd.net/trac/wiki/Docs%3AModAccessLog#id3