If you use ipac-ng newer than 1.23 you have to make sure that your rules end with " in" and " out", e.g. "traffic all in" or "www out". This is used to sort them into the right column (input or output) on the phpIpacStats page.
If you do not know how to pach a file, here's a short introduction:
Most likely you will have to do this as root or you work with you own copy of ipacsum (set correct path in config.php!)
Fire up some xterm or konsole
$ su (change to root) # cd $(dirname $(which ipacsum)) (go to directory of ipacsum) # cp ipacsum ipacsum.bak (make backup copy) # patch ipacsum < /path/to/ipacsum-<version>.diff (apply patch)
$ su # cat /path/to/httpd.conf | grep "^User.*" User www-data # cd /path/to/phpipacstats # chown www-data data
To get phpIpacStats working, you need to edit the file config.php that comes with phpIpacStats. This is the only file you should change if you do not have much PHP knowledge. In fact, this file is a php-file, so you have to be careful if you change something. Just follow some simple rules:
# which ipacsum # locate ipacsum # find / -name "ipacsum"
<Directory /path/to/your/phpipacstats/data> ExpiresActive on ExpiresDefault "access" </Directory>