It looks like you've set this up for a virtual host install (
reviews.hsgbu.com) but are accessing it like a subdirectory (<sever>.
us.oracle.com). From the looks of it, http://<server>.us.oracle.com should
work instead.

Christian

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


On Wed, Sep 21, 2011 at 11:32 AM, Sanjay Lal <sklqui...@gmail.com> wrote:

> 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>.us.oracle.com/reviews.hsgbu.com/ 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:    http://burhs40001v.us.oracle.com/reviews.hsgbu.com/
>
> 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-
> infobox']
>    ^ ^groups/$ [name='all-groups']
>    ^ ^groups/(?P<name>[A-Za-z0-9_-]+)/$ [name='group']
>    ^ ^groups/(?P<name>[A-Za-z0-9_-]+)/members/$
> [name='group_members']
>    ^ ^account/logout/$ [name='logout']
>
> The current URL, reviews.hsgbu.com/, 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>
>        ServerName burhs40001v.us.oracle.com
>        DocumentRoot "/usr/local/apache2/htdocs/reviews.hsgbu.com/
> htdocs"
>
>        # Error handlers
>        ErrorDocument 500 /errordocs/500.html
>
>        WSGIPassAuthorization On
>        WSGIScriptAlias "/" "/usr/local/apache2/htdocs/
> reviews.hsgbu.com/htdocs/reviewboard.wsgi"
>
>        <Directory "/usr/local/apache2/htdocs/reviews.hsgbu.com/
> htdocs">
>                AllowOverride All
>        </Directory>
>
>        # Alias static media requests to filesystem
>        Alias /media "/usr/local/apache2/htdocs/reviews.hsgbu.com/
> htdocs/media <http://reviews.hsgbu.com/%0Ahtdocs/media>"
>        Alias /errordocs "/usr/local/apache2/htdocs/reviews.hsgbu.com/
> htdocs/errordocs <http://reviews.hsgbu.com/%0Ahtdocs/errordocs>"
> ##      Alias /favicon.ico "/usr/local/apache2/htdocs/
> reviews.hsgbu.com/htdocs/media/rbcommons/images/favicon.png"
>
>
> Please let me know in case any other detail is needed.
>
> Thanks
> sanjay
>
>
>
> On Sep 21, 5:45 am, Anton Cohen <an...@antoncohen.com> wrote:
> > On Tue, Sep 20, 2011 at 9:18 PM, Sanjay Lal <sklqui...@gmail.com> wrote:
> > > [root ReviewBoard-1.6]# yum install mod_wsgi
> > > Loaded plugins: security
> > >http://cheeseshop.python.org/pypi/ReviewBoard/repodata/repomd.xml:
> > > [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
> > > http_proxy=www-proxy.us.oracle.com:80
> > > ftp_proxy=www-proxy.us.oracle.com:80
> > > secure_proxy=www-proxy.us.oracle.com:80
> >
> > Here is how to setup yum through a proxy:
> http://www.centos.org/docs/5/html/yum/sn-yum-proxy-server.html
> >
> > 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:
> >
> > https://github.com/openshift/reviewboard-example
> >
> > -Anton
>
> --
> 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