Bug #2637
closed1.4.35_5 static SSI + GZIP not work
Description
Hi All,
I want to report technical GZIP+SSI issue with lighttpd.
My config:
1. FreeBSD 10.1 / i386 / 32 bit
2. lighttpd-1.4.35_5 ( original / compiled from ports )
3. enabled modules:
server.modules = (
"mod_access",
"mod_redirect",
"mod_rewrite",
)
include "conf.d/ssi.conf"
include "conf.d/expire.conf"
include "conf.d/compress.conf"
3. ssi.conf body:
server.modules += ( "mod_ssi" )
ssi.extension = ( ".shtml", ".html" )
Situation with gzip compression:
1. when I download static .txt files - all fine / well compresses
2. when I download static .htm files without SSI - all fine / compressed well
3. when I download static .html files with SSI of another static .htm file - NOT compressed
So I think that it is a BUG - that is not allow to compress
html pages with SSI of other static htm files.
Please confirm me that it is known SSI bug with static files and that
someone is working on it. Or please hint me how to solve it.
Thanks
Montr777
Updated by stbuehler about 9 years ago
- Status changed from New to Invalid
mod_ssi is a "dynamic" request handler, i.e. it generates content (similar to mod_fastcgi, mod_cgi, ...). mod_compress only supports static files, and there is no plan to change this in 1.4.x.
A solution might be to use a FastCGI backend that generates the SSI content (similar to how php is used) and also compresses the content (again, similar to what php already provides).
One day I might write a SSI FastCGI backend, but right now I don't know of any - but maybe you'll find something, or change to something else.
Also available in: Atom