Wordpress permalinks in Lighttpd

Wordpress uses .htaccess files to process its permalinks structure, but Lighttpd won't obey .htaccess files (yet). So, instead of banging your head against the wall, just use something like the following:

server.error-handler-404 = "/index.php?error=404"

For example, the virtual host for this very website is:

$HTTP["host"] =~ "rackerhacker\\.com" {
        server.document-root = basedir+"rackerhacker.com/"
        server.error-handler-404 = "/index.php?error=404"
}

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Printed from: http://rackerhacker.com/2007/04/08/wordpress-permalinks-in-lighttpd/ .
© Major Hayden 2010.

Leave a Reply