mod_gzip

mod_gzip, a content acceleration module for Apache, contains a highly optimized and Web server thread-safe version of gzip. It runs perfectly as either an external DSO load module or built right into the core.

Tags Internet Web
Licenses Apache

Tweet this project Short link

Rss Recent releases

Changes: This version now has 'in memory' compression turned back on, and it also now has the ability to check for pre-compressed versions of files, and will automatically send them if/when they are available. Static files no longer have to be compressed 'on the fly'. There is also now a new 'item' type called 'uri', which can be used with include/exclude item records in addition to the existing mime, file, handler, reqheader, and rspheader item types.

Changes: This release features minor improvements in the include/exclude content directives.

  • Rrelease-mid
  •  30 Jan 2001 06:13
  • Rrelease-after

    Changes: First release.

    Rss Recent comments

    Rcomment-before 26 Jan 2004 11:20 Rcomment-trans TheSpoonman Rcomment-after

    Re: mod_gzip for Apache 2.0

    > I have found mod_gzip 2.0.40 source at
    > this url:
    > http://www.gknw.de/development/apache/httpd-2.0/unix/modules/

    Before I drive myself trying to get this to work, does anyone know if this mod will work with Apache in a proxy config? I'm using it to reverse-proxy to a bunch of machines behind my firewall, and would like to compress the pages served.

    Rcomment-before 09 Apr 2003 09:08 Rcomment-trans z_smurf Rcomment-after

    mod_gzip 2.0 not serving pre-compressed files
    Hi.

    The part of mod_gzip serving pre-compressed files seems to be missing in mod_gzip 2.0.

    Therefore, I have figured out how to configure apache2 to do this *without* mod_gzip or any other compression/decompression module:

    First you must enable "multiview" in your apache.conf (or in your .htaccess-file):

    <directory ....>

    Options MultiViews

    </directory>

    Second, add a handle (anywhere in your httpd.conf) to make apache send the right Content-Encoding-headers:

    AddEncoding x-gzip .gz

    Now restart your Apache. To Verify that this really works, create a html-file named "foo.html.html" (yes, double html-extensions). Write something like "this is the uncompressed file" in it. Next, create a "foo.html"-file. Write something like "This is the compressed file". Do a compress from your shell:

    # gzip foo.html

    Now you should have two files: foo.html.html and foo.html.gz. Try navigate to http://localhost/foo.html. You will either see "this is the compressed file..." or "this is the uncompressed file" depending on what browser you are trying from.

    This is only working if the real file is missing (eg. foo.html).

    I believe this is much faster than both mod_gzip2 and mod_deflate, even though it requires double files on server.

    Rcomment-before 09 Apr 2003 01:01 Rcomment-trans z_smurf Rcomment-after

    Re: mod_gzip for Apache 2.0
    http://www.remotecommunications.com does not seem to work.

    Apache2 comes with mod_deflate, which also can gzip all content on the fly before sent to client.
    I tried it but did not gain very much bandwidth although the Load raised alot.

    I have found mod_gzip 2.0.40 source at this url:

    http://www.gknw.de/development/apache/httpd-2.0/unix/modules/

    Binaries for win32 is found at this url:

    http://www.pcp-computer.de/gkn/apache/httpd-2.0/win32/modules/

    Rcomment-before 30 Oct 2002 19:07 Rcomment-trans rverlander Rcomment-after

    Re: New page/maintainer

    > Seems mod_gzip has a new maintainer
    > (Christian Kruse).
    >
    > http://sf.net/projects/mod-gzip/
    > http://lists.over.net/pipermail/mod_gzip/2002-September/006493.html

    Christian Kruse doesn't know much about mod_gzip, thier mod_gzip version won't even compile and that claim that it can gzip PDF files.

    Rcomment-before 19 Sep 2002 14:59 Rcomment-trans lgn Rcomment-after

    New page/maintainer
    Seems mod_gzip has a new maintainer (Christian Kruse).

    http://sf.net/projects/mod-gzip/
    http://lists.over.net/pipermail/mod_gzip/2002-September/006493.html

    1f9e6cfe04e8708e815d87ed2e47605b_thumb

    Project Spotlight

    MyPaint

    A painting application with a focus on brushes.

    No-screenshot

    Project Spotlight

    Tie::Table

    A Perl module which maps database tables to hashes.