I'm sorry if this is a stupid question, but I can't get Ruby on Rails to work on my Apache server. I'm using Phusion Passenger (mod_rails, mod_rack) for app deployment. Here is my RoR-specific configuration code in my website's Apache configuration file:
Alias /rails /var/www/syyborg.com/ruby/blog/public
<Directory /var/www/syyborg.com/ruby/blog/public>
Options FollowSymLinks
AllowOverride None
Order Allow,Deny
Allow from All
</Directory>
RailsBaseURI /rails
Again, I really have very little knowledge of this kind of thing; I have never set up a server from scratch before. Anyways, my rails app, as you can see, is located at /var/www/syyborg.com/ruby/blog/. I am trying to access it from http://[my domain, syyborg.com]/rails. However, when I try to load the site, I get a "403 Forbidden" error. Any help would be greatly appreciated, and I can provide further details if they are required. Thanks in advance!
apt-get install ruby ruby-dev libreadline-ruby libopenssl-ruby ri rdoc irb libhtml-template-perl psmisc -yto install Ruby and its dependencies, thencd /root; wget http://production.cf.rubygems.org/rubygems/rubygems-1.7.2.tgz; tar xzvf rubygems-1.7.2.tgz; cd rubygems-1.7.2; ruby setup.rbto install Ruby Gems, andgem install railsto install RoR. – Luke Crowe Apr 12 '11 at 17:02