I attached apache-wsgi.conf. I changed "IfModule mod_php5.c" to "IfModule 
php5_module" to get security test to pass.

# ls -l htdocs/static/
total 20
lrwxrwxrwx 1 root root           93 Jan  8 19:35 admin -> 
/usr/lib/python2.6/site-packages/ReviewBoard-2.0.12-py2.6.egg/reviewboard/htdocs/static/admin
lrwxrwxrwx 1 root root           87 Jan  8 19:35 djblets -> 
/usr/lib/python2.6/site-packages/Djblets-0.8.14-py2.6.egg/djblets/htdocs/static/djblets
drwxr-xr-x 2 apache apache 4096 Jan  8 19:35 ext
lrwxrwxrwx 1 root root           91 Jan  8 19:35 lib -> 
/usr/lib/python2.6/site-packages/ReviewBoard-2.0.12-py2.6.egg/reviewboard/htdocs/static/lib
lrwxrwxrwx 1 root root           90 Jan  8 19:35 rb -> 
/usr/lib/python2.6/site-packages/ReviewBoard-2.0.12-py2.6.egg/reviewboard/htdocs/static/rb


On Thursday, January 8, 2015 at 7:01:19 PM UTC-6, Christian Hammond wrote:

> Hi Justin, 
>
> Can you provide a copy of your apache-wsgi.conf file, and a ls -l of 
> <sitedir>/htdocs/static/ ? I'll take a look and see if anything looks 
> wrong. 
>
> Christian 
>
> --   
> Christian Hammond - chri...@beanbaginc.com <javascript:>   
> Review Board - https://www.reviewboard.org   
> Beanbag, Inc. - https://www.beanbaginc.com 
>
> -----Original Message----- 
> From: Justin Palmer <justinp...@gmail.com <javascript:>> 
> Reply: revie...@googlegroups.com <javascript:> <revie...@googlegroups.com 
> <javascript:>>> 
> Date: January 8, 2015 at 4:59:15 PM 
> To: revie...@googlegroups.com <javascript:> <revie...@googlegroups.com 
> <javascript:>>> 
> Subject:  Review Board displays incorrectly 
>
> > I've been wrestling with Review Board for a few days. I installed 2.0.11 
> > and now 2.0.12 on CentOS (RHEL) 6.0 and on 7.0. In all cases, I used 
> Python 
> > setuptools, Apache, memcached, and PostgreSQL. After rb-site install, I 
> > changed ownership of the designated directories and included 
> > apache-wsgi.conf. I attached a screenshot of what I see. Does anyone 
> know 
> > why the website does not appear correctly? 
> >   
> > -- 
> > Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ 
> > --- 
> > Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ 
> > --- 
> > Happy user? Let us know at http://www.reviewboard.org/users/ 
> > --- 
> > 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...@googlegroups.com <javascript:>.   
> > For more options, visit https://groups.google.com/d/optout. 
> >   
>
>

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
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/d/optout.
<VirtualHost *:80>
        ServerName usryeftssvnd01.asg.com
        DocumentRoot "/var/www/reviewboard/htdocs"

        # Error handlers
        ErrorDocument 500 /errordocs/500.html

        WSGIPassAuthorization On
        WSGIScriptAlias "/reviews" 
"/var/www/reviewboard/htdocs/reviewboard.wsgi/reviews"

        <Directory "/var/www/reviewboard/htdocs">
                AllowOverride All
                Options -Indexes +FollowSymLinks
                Allow from all
        </Directory>

        # Prevent the server from processing or allowing the rendering of
        # certain file types.
        <Location "/reviews/media/uploaded">
                SetHandler None
                Options None

                AddType text/plain .html .htm .shtml .php .php3 .php4 .php5 
.phps .asp
                AddType text/plain .pl .py .fcgi .cgi .phtml .phtm .pht .jsp 
.sh .rb

                <IfModule php5_module>
                        php_flag engine off
                </IfModule>
        </Location>

        # Alias static media requests to filesystem
        Alias /reviews/media "/var/www/reviewboard/htdocs/media"
        Alias /reviews/static "/var/www/reviewboard/htdocs/static"
        Alias /reviews/errordocs "/var/www/reviewboard/htdocs/errordocs"
        Alias /reviews/favicon.ico 
"/var/www/reviewboard/htdocs/static/rb/images/favicon.png"
</VirtualHost>

Reply via email to