Re: 403 forbidden in Apache

2011-06-21 Thread Anton Cohen
On Tue, Jun 21, 2011 at 3:11 AM, Krles  wrote:
> # Direct all other requests to the fastcgi server

Unless you have a specific reason for using fastcgi, I recommend using
wsgi. mod_fcgid has a bunch of timeouts that make it hard to tune for
an application that may take a while to run. I would redo 'rb-site
install' and use mod_wsgi.

Thanks,
Anton

-- 
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


403 forbidden in Apache

2011-06-21 Thread Krles
Hello,

I have successfully installed all the pre-reqs on  RedHat server and
Reviewboard.

I configured apache using the example http.conf entry as follows:

IfModule mod_fcgid.c>
AddHandler fcgid-script .fcgi



AddHandler fastcgi-script .fcgi

FastCGIServer "/var/www/reviewboard/htdocs/reviewboard.fcgi" -
socket "/var/www/reviewboard/tmp/fastcgi.sock"



ServerName global-ad.net
DocumentRoot "/var/www/reviewboard/htdocs"

# Alias static media requests to filesystem
Alias /media "/var/www/reviewboard/htdocs/media"
Alias /errordocs "/var/www/reviewboard/htdocs/errordocs"

# Error handlers
ErrorDocument 500 /errordocs/500.html



Options +Includes -Indexes
AllowOverride All
Order allow,deny
Allow from all


# Direct all other requests to the fastcgi server
RewriteEngine on

RewriteRule ^/(media.*)$ /$1 [QSA,L,PT]
RewriteRule ^/(errordocs.*)$ /$1 [QSA,L,PT]


RewriteRule ^/(media.*)$ /$1 [QSA,L,PT]
RewriteRule ^/(errordocs.*)$ /$1 [QSA,L,PT]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^/(.*)$ /reviewboard.fcgi/$1 [QSA,L]





When I start Apache I get a message

Forbidden
You don't have permission to access /reviewboard/ on this server.

Error.log
Directory index forbidden by Options directive: /var/www/html/
reviewboard/


I try add Options -Indexes but log is still same.

Am I doing something wrong?

-- 
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