I’m having a rough time with Apache and my Rails app on my production server. I have everything installed, libraries, gems, the whole get down. The issue is that I get a “Forbidden” error in my browser. I’ve even chmod’d my app directory with “777” but still no luck.
So my questions are:
- What is your
ServerNameDirective (in your virtual host configuration)? - Where is your application located on your server?
- Who owns your application directory?
- What user should own your application directory?
Assuming your Apache has the Passenger (aka mod_rails) module installed and enabled, configuring a new Rails app is as simple as
Some important notes: