This is for future reference to other rails developers that uses Passenger, (which might be helpful to beginners as well.)
Steps:
1. create a symbolic link that points to your rails public directory from the DocumentRoot.
2. edit httpd.conf and add VirtualHost.
a.) add DocumentRoot
b.) add RailsBaseURI “< /rails-app-subdir > ”
3. edit environment.rb of your rails app and add at the end of file:
config.action_controller.relative_url_root = “/frendsmo” # with the slash !
Note: I follow these configurations using edge rails.
Tags: Phusion Passenger, Ruby on Rails
