Fix lighthttpd rewrite rule.

Update lighthttpd and apache rewrite rule to be up to date with the nginx
one.

Users using Nginx should change their config file to use the new rewrite rule for the css/images, the old one will cause 404 on certain pages. See 2b97bb1c1d056747f2f689d991003d01dc595486 for what to change.