# cat /proc/version Linux version 2.6.18-308.4.1.el5 (mockbu...@hs20-bc2-4.build.redhat.com) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-52)) #1 SMP Wed Mar 28 01:54:56 EDT 2012 Architecture: x86_64 I had a look in the EPEL repository that you mentioned, but couldnt see a compatible package for the system. I've compiled/ built most of the software from source. Reviewboard has been installed using easy_install # easy_install http://downloads.reviewboard.org/releases/ReviewBoard/1.6/ReviewBoard-1.6.16-py2.7.egg I should also mention that I've installed mod_wsgi 3.4. ..... from Apache logs AH00489: Apache/2.4.4 (Unix) mod_wsgi/3.4 Python/2.7.4 configured All suggestions appreciated ....
On Tuesday, 21 May 2013 17:03:29 UTC+1, Justin O'Doherty wrote: > I've installed the following on RedHat > > ReviewBoard 1.6.16 > Apache 2.4.4 > Python 2.7.4 > Django 1.3.7 > > The issue I'm having is that when I try to request a page from > Reviewboard, I get a 403 Forbidden response. > > # curl http://localhost:8080/ > <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> > <html><head> > <title>403 Forbidden</title> > </head><body> > <h1>Forbidden</h1> > <p>You don't have permission to access / > on this server.</p> > </body></html> > > From /usr/local/apache2/logs/error_log > [Tue May 21 16:32:21.346195 2013] [authz_core:error] [pid 3723:tid > 1122359616] [client 127.0.0.1:39081] AH01630: client denied by server > configuration: /var/www/reviewboard/htdocs/reviewboard.wsgi > > I'm starting Apache as root but user switches to daemon > # ps -ef | grep apache > root 3566 1 0 15:29 ? 00:00:00 > /usr/local/apache2/bin/httpd -k start > daemon 3721 3566 0 15:31 ? 00:00:00 > /usr/local/apache2/bin/httpd -k start > daemon 3722 3566 0 15:31 ? 00:00:00 > /usr/local/apache2/bin/httpd -k start > daemon 3723 3566 0 15:31 ? 00:00:00 > /usr/local/apache2/bin/httpd -k start > root 5940 9958 0 16:26 pts/1 00:00:00 grep apache > > Following the instructions in the site installation guide, I have changed > the ownership of /var/www/reviewboard/htdocs and /var/www/reviewboard/data > to daemon. > > # ls -ltr > total 20 > drwxrwxrwx 2 root root 4096 May 21 13:56 tmp > drwxr-xr-x 2 root root 4096 May 21 13:56 logs > drwxr-xr-x 3 daemon root 4096 May 21 13:56 htdocs > drwxr-xr-x 2 daemon root 4096 May 21 13:56 data > drwxr-xr-x 2 root root 4096 May 21 13:56 conf > > # more /usr/local/apache2/conf/extra/httpd-vhosts.conf > # Virtual Hosts > # > # Required modules: mod_log_config > # If you want to maintain multiple domains/hostnames on your > # machine you can setup VirtualHost containers for them. Most > configurations > # use only name-based virtual hosts so the server doesn't need to worry > about > # IP addresses. This is indicated by the asterisks in the directives below. > # > # Please see the documentation at > # > <URL:http://httpd.apache.org/docs/2.4/vhosts/<http://httpd.apache.org/docs/2.4/vhosts/> > > > # for further details before you try to setup virtual hosts. > # > # You may use the command line option '-S' to verify your virtual host > # configuration. > # > # VirtualHost example: > # Almost any Apache directive may go into a VirtualHost container. > # The first VirtualHost section is used for all requests that do not > # match a ServerName or ServerAlias in any <VirtualHost> block. > # > <VirtualHost *:8080> > ServerName localhost > DocumentRoot "/var/www/reviewboard/htdocs" > # Error handlers > ErrorDocument 500 /errordocs/500.html > WSGIPassAuthorization On > WSGIScriptAlias "/" "/var/www/reviewboard/htdocs/reviewboard.wsgi/" > <Directory "/var/www/reviewboard/htdocs"> > AllowOverride All > Options -Indexes +FollowSymLinks > Allow from all > </Directory> > # Alias static media requests to filesystem > Alias /media "/var/www/reviewboard/htdocs/media" > Alias /errordocs "/var/www/reviewboard/htdocs/errordocs" > Alias /favicon.ico > "/var/www/reviewboard/htdocs/media/rbcommons/images/favicon.png" > </VirtualHost> > > > # more /var/www/reviewboard/htdocs/reviewboard.wsgi > import os > import sys > os.environ['DJANGO_SETTINGS_MODULE'] = "reviewboard.settings" > os.environ['PYTHON_EGG_CACHE'] = "/var/www/reviewboard/tmp/egg_cache" > os.environ['HOME'] = "/var/www/reviewboard/data" > os.environ['PYTHONPATH'] = '/var/www/reviewboard/conf:' + > os.environ.get('PYTHONPATH', '') > sys.path = ['/var/www/reviewboard/conf'] + sys.path > import django.core.handlers.wsgi > application = django.core.handlers.wsgi.WSGIHandler() > > > Perhaps I need to modify other file permissions/ ownerships? Or do I need > to run Apache under a different account? Any suggestions would be greatly > appreciated. > > Justin > -- 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 --- You received this message because you are subscribed to the Google Groups "reviewboard" group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.