Mapping two host names to the same app

Hi, I wonder if there is any reason to avoid mapping several host names
to the same rails application in an apache + fcgi configuration (I’m
thinking about the tmp directory content).

My idea is to detect the host name and render specific views depending
on its value, eg. mobile.mysite.com, www.mysite.com

Thanks

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs