Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo
I recently installed the latest version of mod_gzip-220.127.116.11a, and it seems to work fine with http (port 80) with a cgi script that generates a 100k text/plain doc (confirmed with CE and CL headers in the response).
However when I try with https (port 443, SSL), it doesn't seem to work (don't see CE header in the response), and I see these following errors appearing in the logs:
[Thu May 11 11:46:26 2006] [error] mod_gzip: EMPTY FILE [/tmp/_28071_99_0.wrk] in sendfile2
[Thu May 11 11:46:26 2006] [error] mod_gzip: Make sure all named directories exist and have the correct permissions.
My /tmp has the correct permissions:
drwxrwxrwt 4 root root 49152 May 11 11:48 /tmp
Here are the mod_gzip directives in my httpd.conf:
mod_gzip_item_exclude reqheader "User-agent: Mozilla/4.0"
mod_gzip_item_include file \.html$
mod_gzip_item_exclude file \.js$
mod_gzip_item_exclude file \.css$
mod_gzip_item_include file \.pl$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_include mime ^text/html$
mod_gzip_item_include mime ^text/plain$
mod_gzip_item_include mime ^httpd/unix-directory$
mod_gzip_item_exclude mime ^image/
Any idea why it can't work with https?