1639: Running ReviewBoard using lighttpd (solving the 404 problem)

pascallo********@gmai***** (Google Code) (Is this you? Claim this profile.)
Nov. 6, 2010
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.
chipx86
#1 chipx86
  • +Confirmed
  • +Milestone-Release1.0.x
    +Component-Deployment
david
#2 david
Fixed in master (for 1.6) as 8db66f0. Thanks!
  • -Confirmed
    +Fixed