I have question if it is possible do run mod_rewrite rule when 404 error occurs. Example:
Request: http://domain.com/files/img/file.jpg
If there is no /files/file.jpg, then Lightttpd should rewrite request to file /files2/img/file.jpg
How to do that in lighttpd/mod_rewrite conf?