In order to have ReviewBoard work on lighttpd, the rewriting rules which
are automatically generated (in lighttpd.conf) need to be
url.rewrite-once = (
"^(/media/.*)$" => "$1",
"^(/errordocs/.*)$" => "$1",
"^(/reviewboard.fcgi.*)$" => "$1",
"^(/.*)$" => "/reviewboard.fcgi$1",
)
(the 3rd rule is new).
The problem is that lighttpd rewrites the URL twice such that
reviews.example.com/
is rewritten to
reviews.example.com/reviewboard.fcgi/reviewboard.fcgi
which is the unrecognised. I'm not exactly sure why this happens though.