Apache::AxKit::GzConfigReader - read gzipped input files



NAME

Apache::AxKit::GzConfigReader - read gzipped input files


SYNOPSIS

In httpd.conf:

    AddEncoding x-gzip gz
    AxConfigReader Apache::AxKit::GzConfigReader
    AxProvider Apache::AxKit::Provider::GzFile


DESCRIPTION

This module allows gzipped input files to be read, for example .xml.gz, .xsl.gz, and .xsp.gz.

If the Apache mod_gzip module is being used, then the ``AddEncoding x-gzip gz'' directive tells it to recognize gzipped input files when a non-gzipped input file is requested but is not available. This directive also adds the ``Content-Encoding: gzip'' HTTP header. This module, GzConfigReader, must strip out the content-encoding header unless AxGzipOutput is turned on.

This module also provides methods for determining if a file needs to be gunzipped by looking at its extension (.gz by default).


SEE ALSO

Apache::AxKit::Provider::GzFile


AUTHOR

Ken Neighbors <ken@nsds.com>


COPYRIGHT and LICENSE

Copyright (c) 2002 Ken Neighbors

This module is licensed under the same terms as AxKit itself.

 Apache::AxKit::GzConfigReader - read gzipped input files