Comment #2 on issue 2147 by sys520...@gmail.com: enable site error
http://code.google.com/p/reviewboard/issues/detail?id=2147
I try to change Review Board Apache config to:
IfModule mod_fcgid.c
AddHandler fcgid-script .fcgi
/IfModule
IfModule mod_fastcgi.c
AddHandler fastcgi-script .fcgi
FastCGIServer /var/www/reviews.example.com/htdocs/reviewboard.fcgi
-socket /var/www/reviews.example.com/tmp/fastcgi.sock
/IfModule
VirtualHost *:8080
ServerName test
DocumentRoot /var/www/reviews.example.com/htdocs
SetEnv PATH /usr/local/bin:/usr/bin:/bin
# Alias static media requests to filesystem
Alias /media /var/www/reviews.example.com/htdocs/media
Alias /errordocs /var/www/reviews.example.com/htdocs/errordocs
# Error handlers
ErrorDocument 500 /errordocs/500.html
Directory /var/www/reviews.example.com/htdocs
AllowOverride All
/Directory
# Direct all other requests to the fastcgi server
RewriteEngine on
IfModule mod_fcgid.c
RewriteRule ^/(media.*)$ /$1 [QSA,L,PT]
RewriteRule ^/(errordocs.*)$ /$1 [QSA,L,PT]
/IfModule
IfModule mod_fastcgi.c
RewriteRule ^/(media.*)$ /$1 [QSA,L,PT]
RewriteRule ^/(errordocs.*)$ /$1 [QSA,L,PT]
/IfModule
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^/(.*)$ /reviewboard.fcgi/$1 [QSA,L]
/VirtualHost
and restart apache2 , but error mistakes are still in.
--
You received this message because you are subscribed to the Google Groups
reviewboard-issues group.
To post to this group, send email to reviewboard-issues@googlegroups.com.
To unsubscribe from this group, send email to
reviewboard-issues+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/reviewboard-issues?hl=en.