Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

SSL on individual pages


Reply


3 Posts   1261 Views

Avatar
Blackdog

Community Member, 156 Posts

3 July 2008 at 1:40pm

Hi All,

is there any way to activate SSL only on specific pages?

say for example a page where you want to process credit card details with a merchant?

I don't want the whole site to run under https because of speed issues.

thanks.

Avatar
Willr

Forum Moderator, 5513 Posts

3 July 2008 at 3:48pm

theres a bit of a discussion in the mailing list about something related - http://groups.google.com/group/silverstripe-dev/browse_thread/thread/ade65994a11d3387

You would use Director::forceSSL() on that page type I would guess.

Avatar
Blackdog

Community Member, 156 Posts

9 July 2008 at 10:00pm

Thanks Willr I will give that a hit, I had tried it in the past but I may have missing something.

cheers.