Setting up a WordPress Blog on Lighttpd with Pretty URLs

7 March 200923,497 views13 Comments

Now that we have our LLMP Stack setup, we can setup our WordPress Blog. Because Lighttpd does not use a .htaccess file like Apache does, we need to create rewrite rules and put them in the Lighttpd configuration. These are the easiest rewrite rules out there as there is only one line.

All you have to do is add the following line to your vhost.

server.error-handler-404 = “/index.php”

So lets create our vhost. I prefer to create each vhost in a seperate file. We are going to create the vhost for chrisjohnston.org. To start lets create the file: