Comment #1 on issue 1618 by unable to set on Ubuntu, keep getting 404 on all pages

For Apache2 I found when converting from mod_python to fastcgi, that I had to change the reviewboard.fcgi script to get it to work correctly for 1.5beta2. I wasn't successful at getting lighttpd working so can't offer specific advice on that server.
My reviewboard.fcgi script with my changes:

<IfModule mod_fcgid.c>
        AddHandler fcgid-script .fcgi
<IfModule mod_fastcgi.c>
        AddHandler fastcgi-script .fcgi

"/home/test/ReviewBoard/Virtual/Test_RB1/htdocs/reviewboard.fcgi" -socket
<VirtualHost *:80>
        DocumentRoot "/home/test/ReviewBoard/Virtual/Test_RB1/htdocs"

        # Alias static media requests to filesystem
        Alias /media "/home/test/ReviewBoard/Virtual/Test_RB1/htdocs/media"
Alias /errordocs "/home/test/ReviewBoard/Virtual/Test_RB1/htdocs/errordocs"
    # I added doxygen
    Alias /doxygen "/var/www/doxygen"

        # Error handlers
        ErrorDocument 500 /errordocs/500.html

        <Directory "/home/test/ReviewBoard/Virtual/Test_RB1/htdocs">
                AllowOverride All

    <Directory "/var/www/doxygen">
                AllowOverride All

        # Direct all other requests to the fastcgi server
        RewriteEngine on
    RewriteLog /var/log/apache2/rewrite.log
    RewriteLogLevel 3
        <IfModule mod_fcgid.c>
        # I had to add /reviews to start of each rule, that is my RB base
                RewriteRule ^/reviews/(media.*)$ /$1 [QSA,L,PT]
                RewriteRule ^/reviews/(docs.*)$ /$1 [QSA,L,PT]
        # I added doxygen, based off /var/www
        RewriteRule ^/doxygen/(.*)$ /doxygen/html/$1 [QSA,L,PT]
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteRule ^/(.*)$ /reviewboard.fcgi/$1 [QSA,L]

I am running inside a VirtualEnv environment, but I don't think that affects the fcgi setup. I also had to modify the reviewboard fastcgi wrapper app to set a PATH environment to be able to run the server, so the patch utility could be found, but I
don't know if that is an issue with 1.0

You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:

You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to