Share

mod_gzip

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

mod_gzip and https

You are viewing a single message from this topic. View all messages.

  1. 2006-05-11 19:03:40 UTC
    Hi,

    I recently installed the latest version of mod_gzip-1.3.26.1a, 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:



    <IfModule mod_gzip.c>
    mod_gzip_on Yes
    mod_gzip_minimum_file_size 500
    mod_gzip_maximum_file_size 500000
    mod_gzip_maximum_inmem_size 60000
    mod_gzip_item_exclude reqheader "User-agent: Mozilla/4.0[678]"
    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/
    mod_gzip_dechunk Yes
    mod_gzip_send_vary On
    </IfModule>

    Any idea why it can't work with https?

    Thanks,
    Ravi
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.