ChiliProject is not maintained anymore. Please be advised that there will be no more updates.

We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.

403 Forbidden error ChiliProject + mod_rails + REE + Apache

Added by Tony Pritchett at 2013-02-06 09:38 pm

Howdy,

I have a brand new install of the following:
CentOS 6.2
Apache 2.4.3
Ruby Enterprise Edition 1.8
mod_rails 3.0.19
ChiliProject 3.6.0

In essence, everything (except the OS) is brand new as of today.

I moved from one host to another. Exact same setup.

Everything worked perfectly on my original host, but this new host it doesn't seem to work on.

Here is my apache httpd.conf important lines:

# mod_rails
LoadModule passenger_module /usr/local/ree/lib/ruby/gems/1.8/gems/passenger-3.0.19/ext/apache2/mod_passenger.so
PassengerRoot /usr/local/ree/lib/ruby/gems/1.8/gems/passenger-3.0.19
PassengerRuby /usr/local/ree/bin/ruby

Here is my apache vhosts file:

<VirtualHost *:80>
    ServerAdmin tony@mydomain.com
    DocumentRoot "/u01/www/ruby/chili_rb/public" 
    ServerName chili.mydomain.com
    ErrorLog "logs/chili.mydomain.com-error_log" 
    CustomLog "logs/mydomain.com-access_log" common
        <Directory /u01/www/ruby/chili_rb/public>
                Options Indexes ExecCGI FollowSymLinks
                AllowOverride All
                Order allow,deny
                Allow from all
        </Directory>

</VirtualHost>

I copied these files exactly from my other host.
When I run chiliproject from webrick, it works perfectly. When I run it from apache, I get 403 forbidden errors.
Every page load gives me this error:

[Wed Feb 06 23:18:38.409332 2013] [authz_core:error] [pid 10278:tid 140626777696000] [client <my ip>:35888] AH01630: client denied by server configuration: /u01/www/ruby/chili_rb/public/
[Wed Feb 06 23:18:38.514732 2013] [authz_core:error] [pid 10278:tid 140626681128704] [client <my ip>:35888] AH01630: client denied by server configuration: /u01/www/ruby/chili_rb/public/favicon.ico

Normal pages work fine. I have set up chiliproject (and redmine) a dozen times in the last 4 years, and I've never had a problem like this before. Any ideas?


Replies (1)

RE: 403 Forbidden error ChiliProject + mod_rails + REE + Apache - Added by Felix Schäfer at 2013-02-07 12:04 pm

The error suggests that /u01/www/ruby/chili_rb/public is not in the paths Apache is allowed to serve. A quick Google search yields for example http://dabase.com/blog/AH01630:_client_denied_by_server_configuration/, have a look if this helps.

(1-1/1)