Archive

Posts Tagged ‘mod_rewrite’

Generating monthly and weekly IRC stats with pisg

March 25th, 2011 2 comments

This tutorial shows you how to configure automatic generation of all time, monthly and weekly IRC statistics from Irssi log files using pisg and a custom bash script by me. A PHP script (also by me) is also provided for injecting handy navigation links to the HTML files generated by pisg for easy navigation between all time, monthly and weekly stats of a specific channel.

Apache mod_rewrite is used for providing fancy URL access to the PHP enhanced statistics. PHP and mod_rewrite aren’t necessarily needed, but they make things handier and prettier.

In this example the Irssi log files are stored on a remote shell, and they are retrieved automatically with scp using public key authentication, but this is not necessary if you already have the Irssi log files on the same machine where you are generating the stats. Read more…

Categories: Uncategorized Tags: , , , , ,
css.php