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.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

SS 3.1 way of implementing SSL for admin and various pages


Go to End


3 Posts   2015 Views

Avatar
vwd

Community Member, 166 Posts

11 December 2013 at 1:23pm

Hi,

Just wondering if there is any documentation on how to implement SSL on various sections (particularly Admin, forms and various page types) and page types in SS 3.1? Has anything changed with the yml config system?

Or is it still just a matter of using Director::forceSSL() as is stated in previous threads?

What's the best way to force the whole site to use SSL?

Thanks.
VWD.

Avatar
Willr

Forum Moderator, 5523 Posts

11 December 2013 at 8:21pm

As per previous versions

Director::forceSSL(array('/^registration/', '/^Security/','/^admin/'));

Avatar
vwd

Community Member, 166 Posts

11 December 2013 at 8:24pm

Couldn't be any easier. Thanks for your response @Willr.

VWD.