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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

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

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

SSL on individual pages


Go to End


3 Posts   1592 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, 5523 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.