Reputation: 2150
I have project which is here http://www.example.com
. I can simply login with this link but can't login https://www.example.com
. How to change the CakePHP default redirection.
The site is working properly when I use http but not working with https.
Upvotes: 0
Views: 3371
Reputation: 1330
You can use SecurityComponent::requireSecure
(See) to force SSL for all actions, but as said before SSL should be enabled / supported on/by your webserver. It seems to me that this is not really a CakePHP problem.
Upvotes: 3