In my last article I detailed how to run PHP through a Rack server. This works fairly well until you try to sign into the Wordpress admin section.
The problem is that Wordpress stores site URLs in the database and it will use these for some redirections. Luckily, with a few Rake tasks you can painlessly override them.