All - I''m working on an eCommerce app built on rails. It will be relatively small at first and I''m not expected too much traffic. I''m considering either Pound+Mongrel or Apache+Mongrel. My question is this: I want several pages in the app to be standard http (home page, about us page, etc) but I want the credit card transaction piece to be secure using https and SSL. Can I do this within the same rails application? Up to this point, I''ve seen that you can create a virtual host on either Apache or Pound that points requests on 443 to your application, however I only want specific views to be secured. I''m quite new at this rails deployment stuff so please feel free to give me advice on setup, hosting, etc. Thanks, Drew -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
On 2/22/07, Drew Olson <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > All - > > I''m working on an eCommerce app built on rails. It will be relatively > small at first and I''m not expected too much traffic. I''m considering > either Pound+Mongrel or Apache+Mongrel. My question is this: I want > several pages in the app to be standard http (home page, about us page, > etc) but I want the credit card transaction piece to be secure using > https and SSL. Can I do this within the same rails application? > > Up to this point, I''ve seen that you can create a virtual host on either > Apache or Pound that points requests on 443 to your application, however > I only want specific views to be secured.You''re on the right track. Create your virtual hosts so port 80 and 443 hit your app. Then use the http://svn.rubyonrails.org/rails/plugins/ssl_requirement plugin to secure certain views. -- Zack Chandler http://depixelate.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---