The problem using the server.error-handler-404 method in lighttpd is that the server returns the Server Response Code: 404.
To get this to work right I had to change wp-blog-header.php near line 190…
I added somthing like this:
/**** MY HACK *****/
else
@header(‘Status: 200 OK’);
/*****************/