@Christian, @jonkeinan, Thanks, both your work-arounds worked and we need both of them together.
On Nov 8, 5:20 am, יונתן קינן <jonkei...@gmail.com> wrote: > You will also need to change the SITE_ROOT variable located in: > /var/www/reviewboard/conf/settings_local.py(in my installation at least) > You need to change SITE_ROOT from '/' to '/review/'(depends on the chosen > sub directory) > > 2011/11/8 Christian Hammond <chip...@chipx86.com> > > > > > > > > > 1.6.2 will ship with a fix for this. > > > Try changing your WSGIScriptAlias to: > > > WSGIScriptAlias "/<subdir>" > > "/path/to/site/htdocs/reviewboard.wsgi/<subdir>" > > > Christian > > > -- > > Christian Hammond - chip...@chipx86.com > > Review Board -http://www.reviewboard.org > > VMware, Inc. -http://www.vmware.com > > > On Mon, Nov 7, 2011 at 1:59 PM, Long VU <t.long...@gmail.com> wrote: > > >> I also faced this problem and also would like to know if there's any > >> workaround to have RB configured with a different root path than "/" ? > > >> Long > > >> On Sep 12, 10:47 am, Nicolas VINOT <ae...@imirhil.fr> wrote: > >> > Hi, > > >> > I investigate more on this problem, and it sounds RB is totally > >> unusable on > >> > subdirectory installation («http://forge/reviews/»in my case). > > >> > « WSGIScriptAlias » parameter must not finish with a « / », otherwise > >> WSGI > >> > concatenate URL-path part to the WSGI script path (leading to « Target > >> WSGI > >> > script not found or unable to stat: > >> > /opt/reviewboard/htdocs/reviewboard.wsgiaccount » for « /account » URL). > > >> > But in same time, « SITE_ROOT » and « FORCE_SCRIPT_NAME » are just a > >> bunch of > >> > random behaviours. > >> > – SITE_ROOT = '/reviews/' + FORCE_SCRIPT_NAME = '' leads to > >> RB-404-page, but > >> > with correct link on it («http://forge/reviews/account/register/»for > >> > example) > >> > – SITE_ROOT = '/' + FORCE_SCRIPT_NAME = '/reviews/' seems working, > >> buthttp://forge/reviews/generatea 301-moved-permanently, and redirect to > >> little > >> > wrong URL (double-slashed «http://forge/reviews//dashboard/»), itself > >> > generating a 302-found, redirecting to very wrong « unrooted » > >> URLhttp://forge/account/login/?next_page=/reviews//dashboard/ > >> > And if I tricks to login, RB seems working correcly (200-found and > >> correct > >> > links), but not logout and few other links (http://forge/account/login/ > >> ) > >> > – SITE_ROOT = '/reviews/' + FORCE_SCRIPT_NAME = '/reviews/' doesn't > >> work, home > >> > page is a 404-RB-error-page and all URL are wrong, with double subdir > >> > (http://forge/reviews/reviews/account/register/) > > >> > So, at this moment, seems RB cannot be setup on a subdirectory, and > >> only on a > >> > root directory of the web server. > >> > Is there any possible workaround ? > > >> > -- > >> > Nicolas VINOT > > >> > signature.asc > >> > < 1KViewDownload > > >> -- > >> 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 > >> reviewboard+unsubscr...@googlegroups.com > >> 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 athttp://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 -- 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