Hi all,
I have some problem to acces reviewboard, follow some examples:

1: http://example.com/reviews/
browser: 404 The page you were looking for does not exist.

2: http://example.com/reviews/account/login/
browser: The requested URL /reviews/account/login/ was not found on
this server
/var/log/apache2/error.log: Target WSGI script not found or unable to
stat: /var/www/reviews/htdocs/reviewboard.wsgiaccount

I have installed ReviewBoard 1.5.2 on Ubuntu 10.10 by this commands:
$ sudo apt-get install python-setuptools
$ sudo apt-get install python-dev
$ sudo apt-get install memcached
$ sudo easy_install python-memcached
$ sudo apt-get install patch
$ sudo easy_install psycopg2
$ sudo apt-get install pylucene
$ sudo easy_install ReviewBoard

(use postgresql as db)
$ sudo apt-get install postgresql
$ sudo su -
# su - postgres
$ sudo -u postgres psql
postgres=# CREATE USER rbuser with PASSWORD ‘pass’;
postgres=# create database review_board_db owner rbuser;
postgres=# GRANT ALL PRIVILEGES ON DATABASE review_board_db to rbuser;
postgres=# \q
postgres$ exit
root$ exit

(test connection to the db from command line)
$ sudo /etc/init.d/postgresql start
$ psql -U rbuser -d review_board_db -h localhost -W
review_board_db=> \q

(modify /etc/hosts/)       example.com

(create site)
$ sudo rb-site install /var/www/reviews

(define permissions)
$ sudo chown -R www-data /var/www/reviews/

(config files)
<VirtualHost *:80>
        ServerName example.com
        DocumentRoot "/var/www/reviews/htdocs"

        # Error handlers
        ErrorDocument 500 /errordocs/500.html

        WSGIPassAuthorization On
        WSGIScriptAlias "/reviews/" "/var/www/reviews/htdocs/

        <Directory "/var/www/reviews/htdocs">
                AllowOverride All

        # Alias static media requests to filesystem
        Alias /reviews/media "/var/www/reviews/htdocs/media"
        Alias /reviews/errordocs "/var/www/reviews/htdocs/errordocs"

import os
import sys

os.environ['DJANGO_SETTINGS_MODULE'] = "reviewboard.settings"
os.environ['PYTHON_EGG_CACHE'] = "/var/www/reviews/tmp/egg_cache"
os.environ['HOME'] = "/var/www/reviews/data"

sys.path = ['/var/www/reviews/conf'] + sys.path

import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()

Have I missing something? Is something wrong? Any Comments?

thanks to all

Want to help the Review Board project? Donate today at 
Happy user? Let us know at http://www.reviewboard.org/users/
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to