Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.
I recently installed the latest version of mod_gzip-126.96.36.199a, 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?