I use Mercurial (hg) and git to manage a few of my personal projects. Some of those projects are exposed to the web (my site, for example). I don’t want the .hg/ and .git/ directories to be available to people via apache, there is no reason (especially since i’m not hosting those repos publicly). I wanted a sitewide solution to deny access to those directories, and I figured blocking .svn would be worthwhile while I was at it.
I run debian on my VPS, so these instructions will be targeted towards how debian (and its derivatives, like ubuntu) structure the apache configuration. It would be trivial to adapt my solution to another distro’s configuration.
Continue reading ‘Deny SCM directories with apache’
I wrote some scripts to run from cron to keep my stuff backed up properly. I wrote one to backup my sql databases and another to use rsync to backup my home directory (which also contains sql backups, mail, etc).
Continue reading ‘Automated Backup Scripts’
I was unhappy with my blog, and decided to take a new direction with it. I would like to blog about personal projects and hobbies, code, etc. I plan on updating regularly (at least 1-2 times weekly for now). I figure I’ll keep anime related posts off of this blog. I may start another blog elsewhere for that at some point.
Permalink structure: /blog/post-title
Until I get stuff fully setup this blog will be “in testing” or something.
Continue reading ‘Starting fresh’