mod_gzip with Apache 2.0 support is available at :
http://www.remotecommunications.com/apache/mod_gzip/src/2.20.26a/MOD_GZIP_2026a.ZIP
[»]
Re: mod_gzip for Apache 2.0
by Andreas - Apr 9th 2003 01:01:36
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/
[reply]
[top]
[»]
Re: mod_gzip for Apache 2.0
by The Spoonman - Jan 26th 2004 11:20:38
> 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.
--
Answering the age-old question: Which is more painful, going to work or gouging your eye out with a spoon?
www.workorspoon.com
[reply]
[top]
[»]
mod_gzip 2.0 not serving pre-compressed files
by Andreas - Apr 9th 2003 09:08:51
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.
[reply]
[top]