>From inside /opt/reviewboard-2.5.7-2/ folder:

bash-4.2# cat apps/reviewboard/conf/httpd-vhosts.conf
<VirtualHost *:80>
    ServerName reviewboard.example.com
    ServerAlias www.reviewboard.example.com
    DocumentRoot 
"/opt/reviewboard-2.5.7-2/apps/reviewboard/htdocs/rb-sites/reviewboard/htdocs"

    Include "/opt/reviewboard-2.5.7-2/apps/reviewboard/conf/httpd-app.conf"
</VirtualHost>

<VirtualHost *:443>
    ServerName reviewboard.example.com
    ServerAlias www.reviewboard.example.com
    DocumentRoot 
"/opt/reviewboard-2.5.7-2/apps/reviewboard/htdocs/rb-sites/reviewboard/htdocs"
    SSLEngine on
    SSLCertificateFile 
"/opt/reviewboard-2.5.7-2/apps/reviewboard/conf/certs/server.crt"
    SSLCertificateKeyFile 
"/opt/reviewboard-2.5.7-2/apps/reviewboard/conf/certs/server.key"

    Include "/opt/reviewboard-2.5.7-2/apps/reviewboard/conf/httpd-app.conf"
</VirtualHost>

Here's the included config file:
bash-4.2# cat apps/reviewboard/conf/httpd-app.conf
<IfDefine !IS_REVIEWBOARD_LOADED>
Define IS_REVIEWBOARD_LOADED
WSGIDaemonProcess wsgi-reviewboard user=daemon group=daemon processes=2 
threads=15 home=/opt/reviewboard-2.5.7-2/apps/reviewboard 
python-path=/opt/reviewboard-2.5.7-2/apps/reviewboard:/opt/reviewboard-2.5.7-2/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages
 
 display-name=%{GROUP}
</IfDefine>

<Directory 
"/opt/reviewboard-2.5.7-2/apps/reviewboard/htdocs/rb-sites/reviewboard/htdocs">
    Options -Indexes +FollowSymLinks
    AllowOverride All
    <IfVersion < 2.3 >
        Order allow,deny
        Allow from all
    </IfVersion>
    <IfVersion >= 2.3>
        Require all granted
    </IfVersion>

    WSGIProcessGroup wsgi-reviewboard

    Include "/opt/reviewboard-2.5.7-2/apps/reviewboard/conf/banner.conf"
</Directory>

<IfModule pagespeed_module>
  ModPagespeedDisallow "*"
</IfModule>

WSGIPassAuthorization On
WSGIScriptAlias "/reviewboard" 
"/opt/reviewboard-2.5.7-2/apps/reviewboard/htdocs/rb-sites/reviewboard/htdocs/reviewboard.wsgi/reviewboard"

<Directory 
"/opt/reviewboard-2.5.7-2/apps/reviewboard/htdocs/rb-sites/reviewboard/htdocs/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 mod_php5.c>
    php_flag engine off
  </IfModule>
</Directory>

# Alias static media requests to filesystem
Alias /reviewboard/media 
"/opt/reviewboard-2.5.7-2/apps/reviewboard/htdocs/rb-sites/reviewboard/htdocs/media"
Alias /reviewboard/static 
"/opt/reviewboard-2.5.7-2/apps/reviewboard/htdocs/rb-sites/reviewboard/htdocs/static"
Alias /reviewboard/errordocs 
"/opt/reviewboard-2.5.7-2/apps/reviewboard/htdocs/rb-sites/reviewboard/htdocs/errordocs"
Alias /reviewboard/favicon.ico 
"/opt/reviewboard-2.5.7-2/apps/reviewboard/htdocs/rb-sites/reviewboard/htdocs/media/rbcommons/images/favicon.png"


The server was working just fine before importing MySQL data, so I doubt 
the Apache config is at fault here, my guess is that you wanted to see if I 
changed the logging system into the vhost.

Jerome

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to