meprojectscontact
 

GZIPStat

Description

GZIPStat is a utility to parse a log file created by apache using mod_gzip. It displays information on the effectiveness of the compression for your site.

Status

Current version is 0.2 [beta]
Development status: active

Requirements

  • Apache and mod_gzip
  • A log file with additional mod_gzip entries
  • A web server running PHP 4. With some small modifications, it should also run with PHP 3.

Disclaimer

The program or code is provided "as is"
I accept no resposibility for this software.

Download

You can download gzipstat here:
gzipstat.zip (ZIP-File 3 kB).

Installation

  • Configure the options in gzipstat.html and read the comments at the beginning of this file.
  • Optionally: Modifiy the output code.
  • Put the file on a web server.
  • Make sure the log files are readable for the user the web server runs under. If you run the CGI version of PHP, the log files must be readable for the user PHP runs as.

Alternatives

This program was inspired by mgstat by Michal Suszycki.
There is one difference: gzipstat also takes into account data that was not compressed by mod_gzip (e.g. excluded by configuration). Judge for yourself which calculation you like better. If you don't like my way, use Michael's program instead. It's there, it's working. There is also is a CGI version of it.

 

valid xhtml v1.1 - last modified: 2009-04-06