News: 3/7/2001 - I've decided that it's time to write a JSP version of mgstat. If you'd like to see the source, you can grab it from here.
I've modified mgstat (the original is here written by Michael Suszycki) to funcation as a cgi program. The updated source file is here (mgstat.c).
Compile mgstat.c like this: `cc -o mgstat -O2 mgstat.c`. Then copy the binary to your cgi-bin directory. This modified version of mgstat looks for the environment variable MOD_GZIP_LOG and processes that file. A sample Apache config is as follows:
ScriptAlias /mgstat /usr/local/apache/cgi-bin/mgstat <Location /mgstat> SetEnv MOD_GZIP_LOG /usr/local/apache/logs/greenhydrant.com/gzip_access_log </Location>
If there is enough interest in this modified version, I will clean up the output into some nice HTML output, but for now, this gets the job done. ;-)
| drees@greenhydrant.com | Home |
| Last Updated: Wed Oct 02 01:38:24 PDT 2002 | www.greenhydrant.com |