Archive for April, 2008

Tracking deployed svn revision

Sometimes it’s useful to know which subversion revision is installed on your website.

I propose simple solution for this. Each time you or somebody update your website, run the command:

svnversion /path/to/your/working/copy > version && scp version login@domain.tld:./version

It will get global revision from your working copy and uploads a file to website, so you can check revision anytime just by opening http://domain.tld/version

Saturday, April 5th, 2008

Exclude WordPress admin from AWStats statistics

This is dead easy, in AWStats config set parameter

SkipFiles="REGEX[^\/wp-admin]"

All newly parsed statistics won’t include admin.

Wednesday, April 2nd, 2008