As part of my ongoing efforts to revamp this site, I’ve moved Vysnu over to a Slicehost 256slice running Gentoo Linux. Unlike previous iterations of the site, it’s a pure clean box without any junk on it. While I would’ve prefered a BSD slice and its just-works package management, Gentoo is good enough. I’ve set up a fast WordPress install on the box. It’s Lighttpd/PHP 5/APC/MySQL 4 that now clocks in at 0.1-0.2 sec/page instead of the earlier 0.4 to 0.6. And thanks to a textdrive hack, I’ve got rewrite urls working fine.
Here’s how to adapt that hack in lighttpd.conf if you’ve got multiple sites running on your box:
$HTTP["host"] =~ "vysnu" { server.error-handler-404 = "/index.php?error=404" }
Next up on the list: upgrade WordPress.
Leave a Reply