Vysnu Rev 2

Saturday, September 16, 2006

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.

Tags:

| Permalink

2 Comments »

  1. Thanks for the snippet. Beautiful site, let us know if you need anything.

    Comment by matt from slicehost — Wednesday, 20 September 2006 @ 08:57:51

  2. Will do :-) Thanks matt.

    Comment by vishnu — Wednesday, 20 September 2006 @ 16:04:45

RSS feed for comments on this post. TrackBack URI

Leave a comment