Huh, I could swear I'd tried with a blank SITE_ROOT and
FORCE_SCRIPT_NAME='/review', but perhaps i didn't reload apache. That
fixed the redirect bonanza, thank you!

I do however have a new issue: cannot log in. I'd managed to create an
account before all this, but now any attempt at logging in simply
yields "Cookies must be enabled. " New user registration also seems
broken: it simply reloads the page with no feedback.

Assuming it's necessary, how would I best go about tracing the way
Review Board and mod_wsgi are interacting?

On Oct 8, 11:43 pm, Christian Hammond <[email protected]> wrote:
> If you unset SITE_ROOT, does it work?
>
> It's possible that mod_wsgi doesn't work well with our custom site root
> support, or rather, that our custom support is no longer needed with it. I'm
> not entirely sure.
>
> Christian
>
> --
> Christian Hammond - [email protected]
> Review Board -http://www.reviewboard.org
> VMware, Inc. -http://www.vmware.com
>
> On Fri, Oct 8, 2010 at 2:20 PM, Alain V. <[email protected]> wrote:
> > Hello, I am trying to install ReviewBoard to simplyhttp://site/review/
> > . I ran rb-site install and it went fine, however it seems to be
> > failing to redirect URLs properly internally.
>
> > When I go tohttp://site/review/, I'm getting the seemingly common
> > django error:
>
> > --
> > Using the URLconf defined in djblets.util.rooturl, Django tried these
> > URL patterns, in this order:
>
> >   1. ^review/
>
> > The current URL, , didn't match any of these.
> > --
>
> > Relevant part in settings_local.py :
> > --
> > # Extra site information.
> > SITE_ID = 1
> > SITE_ROOT = '/review/'
> > FORCE_SCRIPT_NAME = ''
> > DEBUG = True
> > --
>
> > Relevant apache config:
> > --
> > WSGIScriptAlias /review /media/raid/trac/reviewboard/htdocs/
> > reviewboard.wsgi
>
> > <Directory "/media/raid/trac/reviewboard/htdocs">
> >        AllowOverride All
> > </Directory>
>
> > Alias /review/media "/media/raid/trac/reviewboard/htdocs/media"
> > Alias /review/errordocs "/media/raid/trac/reviewboard/htdocs/
> > errordocs"
> > --
>
> > I'm not quite clear on why this isn't working; it seems to want an
> > extra /review/ in the url -- e.g.,
> >http://10.250.114.42/review/review/account/login/
> > works -- but then it tries to redirect to a url with one fewer /
> > review/ . I've tried playing with the SITE_ROOT and FORCE_SCRIPT_NAME
> > values, but to no avail.
>
> > --
> > Want to help the Review Board project? Donate today at
> >http://www.reviewboard.org/donate/
> > Happy user? Let us know athttp://www.reviewboard.org/users/
> > -~----------~----~----~----~------~----~------~--~---
> > To unsubscribe from this group, send email to
> > [email protected]<reviewboard%[email protected]>
> > For more options, visit this group at
> >http://groups.google.com/group/reviewboard?hl=en

-- 
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 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Reply via email to