My Apache version works like no bodies business, however the lighttpd version returns a 404, even on excluded folders.

Any ideas ?

Apache version:

RewriteBase /
RewriteCond %{REQUEST_URI} !/library
RewriteCond %{REQUEST_URI} !/pictures
RewriteCond %{REQUEST_URI} !/UI
RewriteCond %{REQUEST_URI} !/cache
RewriteCond %{REQUEST_URI} !/server
RewriteRule ^([-a-z_]+)(?:/([^/,]*)(?:,([-a-z_0-9]*))?)?/?$ /index.core?context=$1&id=$2&start=$3 [NC,QSA,L]

lighttpd version:

url.rewrite-once = (
"^/.*(library|pictures|UI|cache|server)(([-a-z_]+)(?:/([^/,]*)(?:,([-a-z_0-9]*))?)?/?$"  =>
"index.core?context=$1&id=$2&start=$3"
)