Project

General

Profile

Install prob with Centos - got working under Webrick but getting 403 error under Apache

Added by Granny Smith over 13 years ago

Hi folks,

Finally got latest redmine working on Centos under Webrick, but I'm having difficulties getting my Apache to behave. I think it might be something very simple though, like my "DocumentRoot" setting is wrong or something, as my redmine.mydomain.com just gives me a "403 - forbidden - you don't have permission to access / on this server" which basically looks like there's no index file there (if I upload a dummy index file she displays perfectly).

Here's my Env:

About your application's environment
Ruby version 1.8.7 (i686-linux)
RubyGems version 1.4.2
Rack version 1.0
Rails version 2.3.5
Active Record version 2.3.5
Active Resource version 2.3.5
Action Mailer version 2.3.5
Active Support version 2.3.5
Edge Rails revision unknown
Application root /var/www/redmine
Environment production
Database adapter mysql
Database schema version 20101114115359

====
Here's my httpd/conf.d/redmine.conf: (or should this be in httpd/conf/httpd.conf?)

<VirtualHost *:80>
ServerName redmine.ideasgarden.ie
ServerAdmin
DocumentRoot /var/www/redmine/public
ErrorLog logs/redmine_error_log
<Directory "/var/www/redmine/public">
Options Indexes ExecCGI FollowSymLinks
Order allow,deny
Allow from all
AllowOverride all
Options -MultiViews
</Directory>
</VirtualHost>

...am I doing something retarded that you can spot?

Many thanks in advance!


Replies (3)

RE: Install prob with Centos - got working under Webrick but getting 403 error under Apache - Added by Granny Smith over 13 years ago

Does this: abcedefghijklmnopqrstuvwxyz get through the spam filters?

RE: Install prob with Centos - got working under Webrick but getting 403 error under Apache - Added by Granny Smith over 13 years ago

Keep trying to post solution (10 attempts!) but keep getting rejected because it 'looks like spam' - no idea why, can we turn down the spam-enthusiasm filter please?!

RE: Install prob with Centos - got working under Webrick but getting 403 error under Apache - Added by Granny Smith over 13 years ago

Update:

Bizarre, but the only way I can post this solution without being rejected for 'looking like spam' is to attach it as a file. A couple of the filenames used seem to trigger the spam filter. Oh well.. please see attachment for solution.

screenshot_-_spam_comment_reject.jpg (46.1 KB) screenshot_-_spam_comment_reject.jpg Description of solution as a screenshot
    (1-3/3)