I am not very familiar with Regular expression, but I am asked to modify a lighttpd rewrite rule.
url.rewrite = ( \"^/(.+)/?$\" => \"/index.php/$1\" )
You probably want to use a negative lookahead. Something like
"^/(?!statistics)(.+)/?$" => "/index.php/$1"
And then you'll need an additional rule for statistics