SSL and Rails is proving to be somewhat confusing and difficult to get going for me. I already have an HTTPS apache instance running off my domain -- legacy secure web app. (lives at https://www.mydomain.com say) Now I want to develop a new app on the same secured domain with rails (out of a subdir, symlinked or something at https://www.mydomain.com/railsapp ) But how can this work? To get that to work on a normal insecure instance, I would just put it at http://www.mydomain.com:3000 or some port other than port 80. But since SSL is involved, and I already have an instance running -- meaning its occupying port 443 .... how can I add a rails app to this domain?? Suggestions appreciated! -- -- Chris Earle --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Sean T Allen
2007-May-18 02:24 UTC
Re: Running SSL Rails app on apache server already in use
run your app on 127.0.0.1:SOMEPORT and proxy traffic from apache to that ip. Chris Earle wrote:> SSL and Rails is proving to be somewhat confusing and difficult to get going > for me. > > I already have an HTTPS apache instance running off my domain -- legacy > secure web app. (lives at https://www.mydomain.com say) > > Now I want to develop a new app on the same secured domain with rails (out > of a subdir, symlinked or something at https://www.mydomain.com/railsapp ) > But how can this work? > > To get that to work on a normal insecure instance, I would just put it at > http://www.mydomain.com:3000 or some port other than port 80. > > But since SSL is involved, and I already have an instance running -- meaning > its occupying port 443 .... how can I add a rails app to this domain?? > > Suggestions appreciated! > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
aktxyz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-May-18 21:07 UTC
Re: Running SSL Rails app on apache server already in use
The problem with multiple apps and ssl is that apache (assuming you are using apache as a front end) does not support SSL with named virtual hosts. Annoying, but it makes sense when you think about it, apache does not know the domain name before dishing up it''s certificate, so there can only be 1 certificate, and this 1 cert will be tied to 1 domain. On May 17, 2:43 pm, "Chris Earle" <cea...-1t81/0liowCw5LPnMra/2Q@public.gmane.org> wrote:> SSL and Rails is proving to be somewhat confusing and difficult to get going > for me. > > I already have an HTTPS apache instance running off my domain -- legacy > secure web app. (lives athttps://www.mydomain.comsay) > > Now I want to develop a new app on the same secured domain with rails (out > of a subdir, symlinked or something athttps://www.mydomain.com/railsapp) > But how can this work? > > To get that to work on a normal insecure instance, I would just put it athttp://www.mydomain.com:3000or some port other than port 80. > > But since SSL is involved, and I already have an instance running -- meaning > its occupying port 443 .... how can I add a rails app to this domain?? > > Suggestions appreciated! > > -- > -- > Chris Earle--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---