Lightty Cake: CakePHP + Lighttpd Rewrite Rules
This little snippet will also allow you to capture your query string variables should the need arise.
url.rewrite-once = ( "^/(css|files|img|js)/(.*)" => "/$1/$2", "^/([^?]*)(?:\?(.+))?$" => "/index.php?url=$1&$2" )
