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 simply http://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 to http://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 at http://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
