Hi Marek,

I think I need to see more of your Apache configuration. The problem lies
there somewhere. One WSGI handler is being called for the other's site.

Are you using subdirectory installs, or virtual hosts? I strongly recommend
virtual hosts if you can do that.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com


On Thu, Jul 11, 2013 at 2:47 AM, Marek Dorobisz <marek.dorob...@gmail.com>wrote:

> Hi,
>
> few days ago I've created two new rb-sites: Zinc and Zinc2. Unfortunately
> sometimes our dev team reports that has problem with that as in attached
> Zinc.png file.
> Both rb-sites are in 1.7.7.1 version and db engine is mysql, cache as file
> in different locations (not memcached).
> We have reviewboard on apache 2.2.22-1ubuntu1.3, libapache2-mod-wsgi
> 3.3-4build1, libapache2-mod-python 3.3.1-9ubuntu1, python 2.7.3-0ubuntu3.2
> As a quick fix I've changed Zinc2 to zn2 name (rb-site recreated with new
> db), apache restarted, unfortunately without success.
> access.log and error.log attached.
>
> Do you have any idea why redirect from one site to second happens?
>
> Apache site definition:
> #
> -----------------------------------------------------------------------------
>
> WSGIPassAuthorization On
> WSGIScriptAlias "/Zinc"
> "/home/httpuser/reviewboard/Zinc/htdocs/reviewboard.wsgi/Zinc"
>
> <Directory "/home/httpuser/reviewboard/Zinc/htdocs">
> AllowOverride All
> Options -Indexes +FollowSymLinks
> Allow from all
> </Directory>
>
> # Alias static media requests to filesystem
> Alias /Zinc/media "/home/httpuser/reviewboard/Zinc/htdocs/media"
> Alias /Zinc/static "/home/httpuser/reviewboard/Zinc/htdocs/static"
> Alias /Zinc/errordocs "/home/httpuser/reviewboard/Zinc/htdocs/errordocs"
> Alias /Zinc/favicon.ico
> "/home/httpuser/reviewboard/Zinc/htdocs/static/rb/images/favicon.png"
>
> #
> -----------------------------------------------------------------------------
> WSGIPassAuthorization On
> WSGIScriptAlias "/zn2"
> "/home/httpuser/reviewboard/zn2/htdocs/reviewboard.wsgi/zn2"
>
> <Directory "/home/httpuser/reviewboard/zn2/htdocs">
> AllowOverride All
> Options -Indexes +FollowSymLinks
> Allow from all
> </Directory>
>
> # Alias static media requests to filesystem
> Alias /zn2/media "/home/httpuser/reviewboard/zn2/htdocs/media"
> Alias /zn2/static "/home/httpuser/reviewboard/zn2/htdocs/static"
> Alias /zn2/errordocs "/home/httpuser/reviewboard/zn2/htdocs/errordocs"
> Alias /zn2/favicon.ico
> "/home/httpuser/reviewboard/zn2/htdocs/static/rb/images/favicon.png"
> #
> -----------------------------------------------------------------------------
>
> /home/httpuser/reviewboard/Zinc/conf/settings_local.py:
>
> DATABASES = {
> 'default': {
> 'ENGINE': 'django.db.backends.mysql',
> 'NAME': 'rb_zinc',
> 'USER': 'reviewboard',
> 'PASSWORD': 'dbpw',
>   'HOST': 'mysqlserver',
> 'PORT': '',
> },
> }
>
> # Unique secret key. Don't share this with anybody.
> SECRET_KEY = '()_@y+@u*p=!mq*i=y^7jn_6888^+lp!f-_e9u*b7o1$f@)+p@'
>
> # Cache backend settings.
> CACHES = {
> 'default': {
> 'BACKEND': 'django.core.cache.backends.filebased.FileBasedCache',
> 'LOCATION': '/tmp/reviewboard_cache/Zinc',
> },
> }
>
> # Extra site information.
> SITE_ID = 1
> SITE_ROOT = '/Zinc/'
> FORCE_SCRIPT_NAME = ''
> #DEBUG = False
> DEBUG = True
>
>
>  /home/httpuser/reviewboard/zn2/conf/settings_local.py:
> DATABASES = {
> 'default': {
> 'ENGINE': 'django.db.backends.mysql',
> 'NAME': 'rb_zn2',
> 'USER': 'reviewboard',
> 'PASSWORD': 'dbpw',
> 'HOST': 'mysqlserver',
> 'PORT': '',
> },
> }
>
> # Unique secret key. Don't share this with anybody.
> SECRET_KEY = 'g8dz&hn(hk*xjuwx(1g)gr@lml6%5^t%f=d)cr0@=h3dn2f7hm'
>
> # Cache backend settings.
> CACHES = {
> 'default': {
> 'BACKEND': 'django.core.cache.backends.filebased.FileBasedCache',
> 'LOCATION': '/tmp/reviewboard_cache/zn2/',
> },
> }
>
> # Extra site information.
> SITE_ID = 1
> SITE_ROOT = '/zn2/'
> FORCE_SCRIPT_NAME = ''
> #DEBUG = False
> DEBUG = True
>
> Many thanks,
> Marek
>
>  --
> 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
> ---
> You received this message because you are subscribed to the Google Groups
> "reviewboard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to