I don't really know how ReviewBoard is different to Django, but when mounting at sub URL in Django, you sometimes need to modify 'LOGIN_URL' in Django settings file to explicitly list the mount point as prefix to the login URL. See:
http://docs.djangoproject.com/en/dev/ref/settings/?from=olddocs#login-url This is because Django does not automatically stick the mount point in automatically for some stuff. Not sure if it is that or not. Graham On 21 October 2010 16:30, Jan Koprowski <[email protected]> wrote: > I'm sorry :( > > > I was act like a noob :( > Review Board after entering address reviewboard/abc/ should > redirect me toreviewboard/dashboard/ and ask me to login. > Instead that I get page informing me (404 Page): > > "The page you were looking for does not exist. > If you're pretty sure this page does exist, try logging in and > trying again." > > After click "logging in" link I was redirect to reviewboard/abc/ > login but this page return me exactly this same 404 Page. > > Regards, > > On Oct 21, 4:47 am, Graham Dumpleton <[email protected]> > wrote: >> What is the actual problem you are having besides being confused? >> >> Unless we know what the actual error is your having, can't really give >> any advice. >> >> Graham >> >> On 21 October 2010 04:46, Jan Koprowski <[email protected]> wrote: >> >> >> >> > Hi, >> >> > I'm trying to host multiple django applications under one Apache >> > VirtualHost. I try do this for ReviewBoard (Django application to code >> > review). I redhttp://code.djangoproject.com/wiki/django_apache_and_mod_wsgi >> > but after lecture I'm confused. My VirtualHost configuration looks as >> > follow: >> >> > <VirtualHost 127.0.0.1> >> > ServerName reviewboard.igk.intel.com >> > DocumentRoot "/home/johny/Python/ReviewBoard/abc/htdocs" >> >> > # Error handlers >> > ErrorDocument 500 /errordocs/500.html >> >> > WSGIDaemonProcess abc python-path=/home/johny/Python/sandbox/ >> > lib/python2.7/site-packages >> > WSGIDaemonProcess def python-path=/home/johny/Python/sandbox/ >> > lib/python2.7/site-packages >> >> > WSGIScriptAlias "/abc" "/home/johny/Python/ReviewBoard/abc/ >> > htdocs/reviewboard.wsgi" >> > WSGIScriptAlias "/def" "/home/johny/Python/ReviewBoard/def/ >> > htdocs/reviewboard.wsgi" >> >> > <Location "/abc"> >> > WSGIProcessGroup abc >> > </Location> >> >> > <Location "/abc"> >> > WSGIProcessGroup def >> > </Location> >> >> > <Directory "/home/johny/Python/ReviewBoard/abc/htdocs"> >> > AllowOverride All >> > Order Allow,Deny >> > Allow from all >> > </Directory> >> >> > <Directory "/home/johny/Python/ReviewBoard/def/htdocs"> >> > AllowOverride All >> > Order Allow,Deny >> > Allow from all >> > </Directory> >> >> > # Alias static media requests to filesystem >> > Alias /abc/media "/home/johny/Python/ReviewBoard/abc/htdocs/ >> > media" >> > Alias /abc/errordocs "/home/johny/Python/ReviewBoard/abc/ >> > htdocs/errordocs" >> >> > # Alias static media requests to filesystem >> > Alias /def/media "/home/johny/Python/ReviewBoard/def/htdocs/ >> > media" >> > Alias /def/errordocs "/home/johny/Python/ReviewBoard/def/ >> > htdocs/errordocs" >> > </VirtualHost> >> >> > And this is default reviewboard.wsgi script: >> >> > import os >> > import sys >> >> > os.environ['DJANGO_SETTINGS_MODULE'] = "reviewboard.settings" >> > os.environ['PYTHON_EGG_CACHE'] = "/home/johny/Python/ReviewBoard/abc/ >> > tmp/egg_cache" >> > os.environ['HOME'] = "/home/johny/Python/ReviewBoard/abc/data" >> >> > sys.path = ['/home/johny/Python/ReviewBoard/abc/conf'] + sys.path >> >> > import django.core.handlers.wsgi >> > application = django.core.handlers.wsgi.WSGIHandler() >> >> > Django version used by ReviewBoard is 1.2.3. For each application: >> >> > SITE_ID = 1 >> > SITE_ROOT = '/abc/' >> > FORCE_SCRIPT_NAME = '' >> >> > SITE_ID = 1 >> > SITE_ROOT = '/def/' >> > FORCE_SCRIPT_NAME = '' >> >> > What I do wrong? >> >> > Regards, >> >> > Jan >> >> > -- >> > You received this message because you are subscribed to the Google Groups >> > "modwsgi" group. >> > To post to this group, send email to [email protected]. >> > To unsubscribe from this group, send email to >> > [email protected]. >> > For more options, visit this group >> > athttp://groups.google.com/group/modwsgi?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "modwsgi" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/modwsgi?hl=en. > > -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en.
