Comment #20 on issue 2322 by Unable to post reviews with post-review (0.3.4): can not log in into Reviewboard (1.6.1)

Just to give some more info:
I'm running reviewboard fastcgi with the following command:
/usr/local/bin/python /usr/local/bin/rb-site manage /sites/domain/reviews runfcgi socket=/sites/domain/reviews/tmp/fastcgi.sock pidfile=/var/run/

and this is my apache config:
<IfModule mod_fcgid.c>
        AddHandler fcgid-script .fcgi

<IfModule mod_fastcgi.c>
        AddHandler fastcgi-script .fcgi

FastCGIExternalServer "/sites/domain/reviews/htdocs/reviewboard.fcgi" -socket "/sites/domain/reviews/tmp/fastcgi.sock"

<VirtualHost *:80>
        ServerName reviews.domain
        DocumentRoot "/sites/domain/reviews/htdocs"

        # Alias static media requests to filesystem
        Alias /media "/sites/domain/reviews/htdocs/media"
        Alias /errordocs "/sites/domain/reviews/htdocs/errordocs"

        # Error handlers
        ErrorDocument 500 /errordocs/500.html

        <Directory "/sites/domain/reviews/htdocs">
                AllowOverride All
                Options -Indexes FollowSymLinks
                Allow from all

        # Direct all other requests to the fastcgi server
        RewriteEngine on
        <IfModule mod_fcgid.c>
                RewriteRule ^/(media.*)$ /$1 [QSA,L,PT]
                RewriteRule ^/(errordocs.*)$ /$1 [QSA,L,PT]

        <IfModule mod_fastcgi.c>
                RewriteRule ^/(media.*)$ /$1 [QSA,L,PT]
                RewriteRule ^/(errordocs.*)$ /$1 [QSA,L,PT]
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteRule ^/(.*)$ /reviewboard.fcgi/$1 [QSA,L]

The content of the reviewboard.fcgi is:

import os, sys

sys.path.insert(0, "/sites/domain/reviews/conf")
os.environ["DJANGO_SETTINGS_MODULE"] = "reviewboard.settings"
os.environ["PYTHON_EGG_CACHE"] = "/sites/domain/reviews/tmp/egg_cache"
os.environ["HOME"] = "/sites/domain/reviews/data"

from django.core.servers.fastcgi import runfastcgi
runfastcgi(method="threaded", daemonize="false")

Hope this helps.

You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to