Finally, a solution.
After spending days on this, i got to a solution: use a Lighty specific header.

Instead of:
@headers['X-Sendfile'] = full_path

@headers['X-LIGHTTPD-Send-file'] = full_path

There is still the need of the:
fastcgi.server = ( "..." => (( ..., "allow-x-send-file" => "enable" )))

Wget logs the headers correctly:
$ wget -d -S http://machine:port/webapp -o log
$ wget -d -S http://machine:port/webapp/static/img001.jpg -o log

TY zimbatm for the refactor.

pedro mg
Camping-list mailing list

Reply via email to