Using Blosxom starter kit with Apple's OS X Server
This is mainly a note to myself, about my blogging tool.
In 2015, if you want a tool to create a blog, you will probably consider Jekyll. It is :
- simple (no database, just text files),
- safe (static site, no pesky updates to install, just your content)
- and free (as in beer as well as in speech).
OK, but version 1.0.0 of Jekyll had to wait May 2013 to be available, and even version 0.0.0 wasn't published before October 2008.
My personal site has always been static. As soon as October 2003, I started using Blosxom which is currently considered as the grandfather of minimalist static site generators. Less than a year later, I packaged it in an attempt to make the generation of a static blog a little easier. Call me old… Probably lazy and maybe narrow minded too, because I see no compelling reason to switch for my personal use.
My setup is derived from the standard Blosxom starter kit.
I currently use Apple's OSX Server, which is available to me through Apple's Developer Program. Therefore, the
blosxom.cgi script is installed inside
$basedir variable in the script points to a public folder in my home directory. Inside this folder, the Unix owner of
plugins/state/ is set to
_www, its group to
staff and its permission is set to octal
/Library/Server/Web/Config/apache2/other folder, I have a
blosxom.conf file which just contains the following line :
ScriptAlias /blog "/Library/Server/Web/Data/CGI-Executables/blosxom.cgi"
And here it is, I can see the rendering of my blog at http://localhost/blog …
To generate its static version, I have a script which basically perform a :
perl /Library/Server/Web/Data/CGI-Executables/blosxom.cgi -password="MyNotSoImportantPassword"
The static version is pushed to Github pages through
git. And that's it.