httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From TOKI...@aol.com
Subject [SUBMIT] mod_gzip 2.0.26a ( Non-debug version )
Date Sat, 15 Sep 2001 05:23:55 GMT
Hello all...
Kevin Kiley here.

We decided not to wait any longer for a new BETA.

Attached is the current source code for mod_gzip 
for Apache 2.x series. It has been tested 
pretty heavily and seems to be working fine.

There is only 1 file... mod_gzip.c.

You are free to do whatever you like with this
submission.

This is the Non-debug filter version and it has been
adjusted to use ZLIB.

The full 'story-telling' debug version will be
sent following this upload for anyone who might
be interested in that cut of the code.

It contains all the same configuration directives,
Item Mapping and eligibility checks currently used in the
heavily tested and widely used mod_gzip 1.3.19.1a for the
Apache 1.x series.

Below is a sample configuration for using mod_gzip
for 2.x with mod_include.

It includes sample custom log records, a root server
definition, and a single virtual host definition.

The sample below does not contain all of the possible 
mod_gzip directives.

All of the configuration directives are fully
documented on the mod_gzip home page and a standard
Apache module documentation file is forthcoming.

[snip]

# SAMPLE MOD_GZIP CONFIGURATON FOR APACHE 2.X

#
# To use server-parsed HTML files
#
<FilesMatch "\.shtml(\..+)?$">
    SetOutputFilter INCLUDES GZIP
</FilesMatch>

LogFormat "%h %l %u %t \"%r\" %>s %b mod_gzip: %{mod_gzip_result}n 
In:%{mod_gzip_input_size}n 
Out:%{mod_gzip_output_size}n:%{mod_gzip_compression_ratio}npct." 
common_with_mod_gzip_info2
CustomLog logs/access.log common_with_mod_gzip_info2

mod_gzip_on Yes
mod_gzip_min_http 1000
mod_gzip_temp_dir c:\temp
mod_gzip_item_include file .*\.htm
mod_gzip_item_include mime text/*
mod_gzip_compression_level 3
mod_gzip_command_version mod_gzip_version

<VirtualHost 127.0.0.1:4010>

    ServerAdmin webmaster@127.0.0.1
    DocumentRoot "c:\httpd\release\htdocs2"
    ServerName 127.0.0.1
    ErrorLog logs/htdocs2/error.log
    CustomLog logs/htdocs2/access.log common_with_mod_gzip_info2

    mod_gzip_on Yes
    mod_gzip_min_http 1000
    mod_gzip_temp_dir c:\temp
    mod_gzip_item_include file .*\.htm
    mod_gzip_item_include mime text/*
    mod_gzip_compression_level 6
    mod_gzip_command_version mod_gzip_version_127

</VirtualHost>

[snip]

Yours...
Kevin Kiley

Mime
View raw message