Hi Joseph.

That's really good to know. I'm working on a script to help generate these
config files, and I'll make sure to keep that variable in mind.

Christian

-- 
Christian Hammond - [EMAIL PROTECTED]
VMware, Inc.


On Sun, Sep 7, 2008 at 6:16 PM, Joseph Liu <[EMAIL PROTECTED]> wrote:

>
>
> On Aug 10, 11:57 pm, BiggerBadderBen <[EMAIL PROTECTED]>
> wrote:
> > Hi,
> >
> > I'm trying to get reviewboard going withlighttpdweb server and using
> > FastCGI, but get the following error.  I can bring up the dashboard
> > using the built-in server, so imagine this is a lighty/fastcgi
> > configuration issue.
> >
> > --------------------------------------------------
> > Page not found (404)
> > Request Method:         GET
> > Request URL:
> http://10.100.72.9/reviewboard.fcgi/reviewboard.fcgi/dashboard/
> >
> > Using the URLconf defined in djblets.util.rooturl, Django tried these
> > URL patterns, in this order:
> >
> >    1. ^ ^admin/
> >    2. ^ ^media/(?P<path>.*)$
> >    3. ^ ^api/json/
> >    4. ^ ^r/
> >    5. ^ ^reports/
> >    6. ^ ^dashboard/$
> >    7. ^ ^users/$
> >    8. ^ ^users/(?P<username>[A-Za-z0-9_\-\.]+)/$
> >    9. ^ ^groups/$
> >   10. ^ ^groups/(?P<name>[A-Za-z0-9_-]+)/$
> >   11. ^ ^feeds/rss/(?P<url>.*)/$
> >   12. ^ ^feeds/atom/(?P<url>.*)/$
> >   13. ^ ^account/logout/$
> >   14. ^ ^$
> >   15. ^ ^account/login/$
> >   16. ^ ^account/preferences/$
> >   17. ^ ^iphone/
> >   18. ^ ^account/register/$
> >
> > The current URL, reviewboard.fcgi/reviewboard.fcgi/dashboard/, didn't
> > match any of these.
> > --------------------------------------------------------------
> >
> > I've set SITE_ROOT to "/reviewboard/" in my settings_local.py file
> >
> > It seems odd to me that "reviewboard.fcgi" is repeated twice in the
> > URL.  Here are what I expect are the relevant parts of thelighttpd.conf
> file:
> >
> > fastcgi.server = (
> >         "/reviewboard.fcgi" => (
> >                 "main" => (
> > #                       "host" => "127.0.0.1",
> > #                       "port" => 3033,
> >                         "socket" => "/tmp/reviewboard.sock",
> >                         "check-local" => "disable",
> >
> >                 )
> >         ),
> > )
> >
> > alias.url = (
> >         "/media" => "/var/www/reviewboard/htdocs/media",
> >         "/errordocs" => "/var/www/reviewboard/htdocs/errordocs",
> > )
> >
> > url.rewrite-once = (
> >     "^(/media/.*)$" => "$1",
> >     "^(/errordocs/.*)$" => "$1",
> >     "^(/.*)$" => "/reviewboard.fcgi$1",
> > )
> >
> > System info:
> > Ubuntu 8.04 x86 desktop
> >
> > reviewboard r1433
> > django r8295
> >
> > thanks in advance!
> >
> > regards,
> > Ben
>
>
> I don't know if you have found the fix, but I spent way too much time
> figuring this one out:
>
> You will need FORCE_SCRIPT_NAME="/" in settings_local.py
>
> See:
>
> http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges#ChangedthewayURLpathsaredetermined
>
> Cheers
> Joseph
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To post to this group, send email to reviewboard@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to