Hi,

What happens when you go to http://example.com/?

I assume you have multiple sites off this subdomain. You may have to combine
the VirtualHost entries, merging all the Review Board parts into your main
one. The configuration we generate is intended as a base for you to modify,
if needs require. In your case, you probably have some manual work to do
with the configuration that we can't automate.

Christian

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


On Sun, Feb 13, 2011 at 6:24 AM, zxmax <massimiliano.parent...@gmail.com>wrote:

> 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/)
> 127.0.0.1       example.com
>
>
> (create site)
> $ sudo rb-site install /var/www/reviews
>
>
> (define permissions)
> $ sudo chown -R www-data /var/www/reviews/
>
>
> (config files)
> /etc/apache2/sites-enabled/reviews.conf
> <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/
> reviewboard.wsgi"
>
>        <Directory "/var/www/reviews/htdocs">
>                AllowOverride All
>        </Directory>
>
>        # Alias static media requests to filesystem
>        Alias /reviews/media "/var/www/reviews/htdocs/media"
>        Alias /reviews/errordocs "/var/www/reviews/htdocs/errordocs"
> </VirtualHost>
>
>
>
> /var/www/reviews/htdocs/reviewboard.wsgi
> 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
> 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

-- 
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

Reply via email to