andresmax-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2009-Apr-17 16:07 UTC
Virtual Host issue
Hey, I''m having sort of an issue configuring virtual hosts with passenger I want domain.com and www.domain.com to point to one rails app (simple cms) and *.domain.com to point to another rails app (the actual thing) How can I do this with apache+mod_rails? Thanks a lot for your help! --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
> -----Original Message----- > From: rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org [mailto:rubyonrails- > talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org] On Behalf Of andresmax-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > Sent: Friday, April 17, 2009 12:08 PM > To: Ruby on Rails: Talk > Subject: [Rails] Virtual Host issue > > > Hey, I''m having sort of an issue configuring virtual hosts with > passenger > > I want domain.com and www.domain.com to point to one rails app (simple > cms) > and *.domain.com to point to another rails app (the actual thing) > > How can I do this with apache+mod_rails? Thanks a lot for your help!I''m pretty sure if you first put the VirtualHost for domain.com and www.domain.com, and then the VirtualHost with ServerName *.domain.com, that should work.>--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
andresmax-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2009-Apr-17 16:32 UTC
Re: Virtual Host issue
Thanks, my config was right, but the order in which the virtual host files were loading was wrong On Apr 17, 11:15 am, "Brandon Olivares" <programmer2...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > -----Original Message----- > > From: rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org [mailto:rubyonrails- > > talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org] On Behalf Of andres...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > > Sent: Friday, April 17, 2009 12:08 PM > > To: Ruby on Rails: Talk > > Subject: [Rails] Virtual Host issue > > > Hey, I''m having sort of an issue configuring virtual hosts with > > passenger > > > I want domain.com andwww.domain.comto point to one rails app (simple > > cms) > > and *.domain.com to point to another rails app (the actual thing) > > > How can I do this with apache+mod_rails? Thanks a lot for your help! > > I''m pretty sure if you first put the VirtualHost for domain.com andwww.domain.com, and then the VirtualHost with ServerName *.domain.com, that > should work. > >--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---