2009 Jun 28 - Sun
Blosxom Reinstall on Debian Lenny 5.0.1
It is almost time to retire my perl based bloging server software known as
blosxom. It has performed well. However, my page count is starting to get high,
and blosxom is taking longer and longer to process. For now, I've moved it to faster hardware while I work on a different
blog delivery mechanism (I hope to have Wt on C++ with PostgreSQL running the back-end soon).
Copying over the directory structure was no real problem. The only real thing needed was to put the mod_rewrite stuff
back in so the unsightly cgi-bin url portion is removed. By default, mod_rewrite is not enabled.
To enable it:
a2enmod rewrite
Here is what the rewrite stuff as it looks in sites-enabled/default file:
RewriteLogLevel 0
RewriteLog /var/log/apache2/rewrite.log
<Directory "/var/www/blog">
AddHandler cgi-script .cgi
Options +ExecCGI
RewriteEngine On
RewriteCond %{REQUEST_URI} !-f
RewriteCond %{REQUEST_URI} !-d
RewriteRule ^(.*)$ /cgi-bin/blosxom.cgi/$1 [L,QSA]
</Directory>
|