403 Forbidden with Passenger/Apache/Rails

2,568 views
Skip to first unread message

Xiaoli Wu

unread,
Feb 19, 2013, 11:08:43 AM2/19/13
to phusion-...@googlegroups.com
I tried to deploy one of my app according to the manual under Apache 2.4.3. And add these lines to the httpd.conf:

LoadModule passenger_module /home/user/.rvm/gems/ruby-1.9.3-p385/gems/passenger-3.0.19/ext/apache2/mod_passenger.so
PassengerRoot /home/user/.rvm/gems/ruby-1.9.3-p385/gems/passenger-3.0.19
PassengerRuby /home/user/.rvm/wrappers/ruby-1.9.3-p385/ruby

<VirtualHost *:80>
      ServerName domain.com
      # !!! Be sure to point DocumentRoot to 'public'!
      DocumentRoot /home/user/RailsProject/MEbGDP/public
      <Directory /home/user/RailsProject/MEbGDP/public>
         # This relaxes Apache security settings.
         Options FollowSymLinks
         AllowOverride None
         Order allow,deny
         Allow from all
         # MultiViews must be turned off.
         # Options -MultiViews
      </Directory>
</VirtualHost>

However, when goes to domain.com, it gives me a 403 error - "You don't have permission to access / on this server." The file/folders are already set to 755... How should I fix this? Many thanks!

Rick Schmitty

unread,
Feb 20, 2013, 10:20:10 AM2/20/13
to phusion-...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages