Do X-sendfile + mod_compress work?

2 views
Skip to first unread message

春晓的晓

unread,
Feb 26, 2009, 10:59:31 PM2/26/09
to lighttpd
We are using mod_compress and x-sendfile with php for download
service. The static files could be zipped and downloaded, and php
files could be zipped and downloaded with readfile() function.

But if x-sendfile are used, the file could not be zipped. So I doubt
do X-sendfile + mod_compress work? Or we must compress the file before
presenting it to lighty?

Thank you for your reading.

OS: Linux simon 2.6.24-etchnhalf.1-686 #1 SMP Tue Dec 2 07:56:33 UTC
2008 i686 GNU/Linux
PHP: 5.2.6
Lighty: 1.4.20
Reply all
Reply to author
Forward
0 new messages