Help setting up https on Dreamhost

Hi!

I am creating a typical online-store whereby most of my site is behind
http but i obviously need the payment part behind https. I have already
set up my secure hosting with Dreamhost but what i need help with is
actually getting it to work how i want it.

Currently the web directory that the secure server is set to be running
on is my.domain.com/MyRailsApp/public . This means that the whole of my
site is behind https (i think…).

I need to change this so that only the payment parts of my website are
behind https. Would this be as simple as changing it to
my.domain.com/MyRailsApp/app/views/secure and then just putting my
payment pages within this directory? The problem that i see is that
these payment pages would also be hosted under http as well so if
someone were to change the address they were viewing from
https://my.domain.com/secure/payment to
http://my.domain.com/secure/payment, they would still be able to view
the payment page unsecurely.

I may be totally going around this the wrong way so if someone could
help that would be a great help. Im quite new to web development and
this is the first time i have ever messed with things like secure
hosting.

Thank you very much.

Martin.

Best thing to do is contact DH support directly. Tell them where you
want
the SSL enabled and then tell them that you don’t want that folder to
handle
non SSL requests.

They should be able to do that for you.

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