20 Jul 09:49
how does request.host get set?
From: Reynard <reynardmh@...>
Subject: how does request.host get set?
Newsgroups: gmane.comp.lang.ruby.rails
Date: 2008-07-20 07:49:23 GMT
Subject: how does request.host get set?
Newsgroups: gmane.comp.lang.ruby.rails
Date: 2008-07-20 07:49:23 GMT
how does request.host get set? Is there a way to manually set the value in request.host? I have several application servers running rails, each has its own internal address in the request.host, so when calling redirect_to or url_for function, it uses the internal address which is not accessible to the user. what I want is to set request.host to return mysite.com, no matter which application server it's running on. - reynard --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@... To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@... For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
RSS Feed