NerdOCRACY, the server hosting barisione.org, moved to lighttpd as it’s less resource-hungry and easier to configure.

I had only some problems with WordPress, to have clean addresses like www.example.com/about instead of something like www.example.com/?p=123 it uses this htaccess file:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

I resolved using server.error-handler-404 as suggested on snippets.dzone.com:

$HTTP["host"] == "www.example.com" {
    server.document-root = "/usr/share/wordpress"
    server.error-handler-404 = "/index.php"

Information and Links

Join the fray by commenting, tracking what others have to say, or linking to it from your blog.

Other Posts

Reader Comments

This probably means that perfectly valid URLs to blog posts will return a 404 error status, which is wrong and violates the standard. Search engines for one won’t index such pages.

No, server.error-handler-404 returns a 200 status code, if you want a 404 code you have to use server.errorfile-prefix.