Apache::GzipChain compresses web server output using the GZIP
specification (RFC 1952). The effect is improved
Apache Web Server throughput and reduced
download times for clients. For web pages, Apache::GzipChain
works best with pages whose size is under 10k.
Apache::GzipChain requires the mod_perl Apache Module
to run and is classified as
"alpha" software, which means it may not be suitable for production
environments, though our benchmarks have satisfied us that it works
reliably well for simple applications.
Connect to your Virtual Server via Telnet or SSH
and do the following.
Install The mod_perl Apache Module.
perl-lwp Pre-Packaged Perl5 Module.
Install the Apache::GzipChain Perl module. Follow the directions that correspond to your Virtual Server O/S.
Use the vcpan Perl module installation utility, like this:
% vcpan Apache::GzipChain
Apache::GzipChain is unavailable. Compress::Zlib is not yet supported.
Apache::GzipChain is unavailable.
If you don't know the Virtual Server O/S, try the following:
Modify your web server configuration file (~/www/conf/httpd.conf)
by adding the following lines, which will instruct Apache to pass all
files that end in .html to the Apache::GzipChain handler:
PerlHandler Apache::OutputChain Apache::GzipChain Apache::PassFile
Use perldoc to browse the
online documentation for more details after you've installed
% virtual perldoc Apache::GzipChain