List Info

Thread: adding my appname to the URL




adding my appname to the URL
country flaguser name
Germany
2007-12-27 02:33:57
Hi All,
I need to get my Ruby on Rails application running on:
http://IP:po
rt/AppName/Controller/Action
rather than:
http://IP:port/Contr
oller/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"

But it didn't work, can any1 please advise.
-- 
Posted via http://www.ruby-forum.com
/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Deploying Rails" group.
To post to this group, send email to
rubyonrails-deploymentgooglegroups.com
To unsubscribe from this group, send email to
rubyonrails-deployment-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-deployment
?hl=en
-~----------~----~----~----~------~----~------~--~---


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )