Hi All,
I need to get my Ruby on Rails application running on: http://IP:port/AppName/Controller/Action
rather than: http://IP:port/Controller/Action directly
That’s because I want to integrate it with facebook.
I’ve tried the following in environment.rb but didn’t work:
uncommented:
config.action_controller.session_store = :active_record_store
and added:
ActionController::AbstractRequest.relative_url_root = “/myappname”
I think you’ll need to either configure this with the web server, and/or
possibly add the AppName to your routes. I’m really not sure since I’ve
never done it, but that would be a good place to start.