Install Blosxom on Windows by Hand
Blosxom is a simple CGI script that requires not much more than being put
somewhere Web-accessible, told where it is, optionally configured a little,
blessed with permission to run, and let loose on an unsuspecting public.
That's about all there is to Blosxom installation. Next step is configuration. But before you move on, a couple of notes...
- Before you can get down to the nitty gritties, you'll need a fresh copy
of Blosxom in hand. Download it here.
- Extract the
blosxom.cgi script from the ZIP archive using
WinZIP or the like. Either extract it directly to the
C:\Inetpub\wwwroot directory or extract it and drag it there
- All of Blosxom's blog entries live in a special folder. As good a place
as any to keep these posts is in a
blosxom folder within IIS's Web page repository,
C:\Inetpub\wwwroot\blosxom. Go ahead and create that folder as you would normally.
You'll be telling Blosxom where to find this folder when you configure in just a moment.
- There are a couple-three IIS configuration steps in order to a) tell the Web server to run rather than simply display the contents of the
blosxom.cgi script and b) fix a bug in IIS so that it properly handles PATH_INFO (never mind if you don't know what the heck that means).
Thankfully, the PerlMonks site offers a short fixit script, "Fix ActiveState Script Maps (IIS)" which makes use of the IIS "ScriptMaps" property.
- Copy the script (all the beautifully hideous Perl code in the yellow box) right from your Web browser. Click the Windows Start button, select Run..., type
command, and click the OK button. At the command-line, type:
This will launch the simple edit text editor.
- Paste in code (Edit > Paste), save (File > Save), and exit (File > Exit).
- Run the newly-created script like so:
and then delete it:
- Close the Command window.
- While Windows uses backslashes between components of a path, Perl uses forward-slashes, so you'll be using
C:/Inetpub/wwwroot/blosxom as your data directory
- While you're welcome to use any text editor you wish to edit the
blosxom.cgi script, I find edit on the command-line by far the easiest.