Hi all,

I've been banging my head against the wall trying to solve this
problem. I would get a page such as

-------------------------------------------
Using the URLconf defined in djblets.util.rooturl, Django tried these
URL patterns, in this order:

   1. ^ ^admin/
   2. ^ ^media/(?P<path>.*)$
   3. ^ ^account/
   4. ^ ^api/(?P<api_format>json|xml)/
   5. ^ ^r/
   6. ^ ^reports/
   7. ^ ^dashboard/$
   8. ^ ^users/$
   9. ^ ^users/(?P<username>[a-za-z...@_\-\.]+)/$
  10. ^ ^groups/$
  11. ^ ^groups/(?P<name>[A-Za-z0-9_-]+)/$
  12. ^ ^groups/(?P<name>[A-Za-z0-9_-]+)/members/$
  13. ^ ^feeds/rss/(?P<url>.*)/$
  14. ^ ^feeds/atom/(?P<url>.*)/$
  15. ^ ^account/logout/$
  16. ^ ^$
  17. ^ ^iphone/

The current URL, reviewboard.fcgi/, didn't match any of these.
-------------------------------------------

The solution is to add a rewriting rule to prevent lighttpd from
doubly adding /reviewboard.fcgi. In lighttpd.conf use

    url.rewrite-once = (
        "^(/media/.*)$" => "$1",
        "^(/errordocs/.*)$" => "$1",
        "^(/reviewboard.fcgi.*)$" => "$1",
        "^(/.*)$" => "/reviewboard.fcgi$1",
    )

(the 3rd rule is new). Now it works!

Hope this spares others headaches.

Chris: counting on you to patch the conf generation ;)

PL

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Reply via email to