Thanks Anton. These details are very helpful. I am making progress
now. I am now able to use yum install mod_wsgi. I have enabled the
mod_wsgi now.
Now, After restarting http server, I am trying to access reviewboard
from the URL http://<server> but
geting 404 error. I am sure I am doing somethign wrong.. below is the
debug info -
Page not found (404)
Request Method:         GET
Request URL:

Using the URLconf defined in djblets.util.rooturl, Django tried these
URL patterns, in this order:

    ^ ^admin/
    ^ ^media/(?P<path>.*)$
    ^ ^account/
    ^ ^reports/
    ^ ^s/(?P<local_site_name>[A-Za-z0-9\-_.]+)/
    ^ ^$ [name='root']
    ^ ^api/
    ^ ^r/
    ^ ^dashboard/$ [name='dashboard']
    ^ ^users/$ [name='all-users']
    ^ ^users/(?P<username>[A-Za-z0-9@_\-\.]+)/$ [name='user']
    ^ ^users/(?P<username>[A-Za-z0-9@_\-\.]+)/infobox/$ [name='user-
    ^ ^groups/$ [name='all-groups']
    ^ ^groups/(?P<name>[A-Za-z0-9_-]+)/$ [name='group']
    ^ ^groups/(?P<name>[A-Za-z0-9_-]+)/members/$
    ^ ^account/logout/$ [name='logout']

The current URL,, didn't match any of these.

You're seeing this error because you have DEBUG = True in your Django
settings file. Change that to False, and Django will display a
standard 404 page.


Here is the contents of /etc/httpd/conf.d/apache-wsgi.conf -

<VirtualHost *:80>
        DocumentRoot "/usr/local/apache2/htdocs/

        # Error handlers
        ErrorDocument 500 /errordocs/500.html

        WSGIPassAuthorization On
        WSGIScriptAlias "/" "/usr/local/apache2/htdocs/"

        <Directory "/usr/local/apache2/htdocs/
                AllowOverride All

        # Alias static media requests to filesystem
        Alias /media "/usr/local/apache2/htdocs/
        Alias /errordocs "/usr/local/apache2/htdocs/
##      Alias /favicon.ico "/usr/local/apache2/htdocs/"

Please let me know in case any other detail is needed.


On Sep 21, 5:45 am, Anton Cohen <> wrote:
> On Tue, Sep 20, 2011 at 9:18 PM, Sanjay Lal <> wrote:
> > [root ReviewBoard-1.6]# yum install mod_wsgi
> > Loaded plugins: security
> >
> > [Errno 14] HTTP Error 404: Not Found ()
> > Trying other mirror.
> > Error: Cannot retrieve repository metadata (repomd.xml) for
> > repository: download_base. Please verify its path and try again
> Is it really giving an error that mentions "ReviewBoard" when you are
> trying to install an unrelated package? Did you modify anything in
> /etc/yum.conf or /etc/yum.repos.d? It seems like you might have put a
> Python pypi URL in a yum config.
> Do this to list the repositories:
> yum -v repolist
> > I have set following
> >
> >
> >
> Here is how to setup yum through a 
> proxy:
> If a proxy is always required, it's probably best to do it in
> yum.conf, instead of as an environment variable. If you do the env
> method, don't forget to "export http_proxy" so it works outside your
> shell.
> If you are just playing around, maybe consider installing RB in
> OpenShift. That way you won't have to do any of the Linux stuff, all
> you have to do is git pull/push:
> -Anton

Want to help the Review Board project? Donate today at
Happy user? Let us know at
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to