Control Panel to work with https #1140
Comments
What is your site url set to? |
My site url is set to Below is my
|
I'm having the same issue (had it since v2 beta). |
Looks like the issue is related to the cookie set header in the .htaccess file:
This above code is intended to help prevent XXS however it is breaking Statamic randomly when using the control panel over https. Source: https://geekflare.com/httponly-secure-cookie-apache/ |
This usually just works out of the box, but we've found cases where the Symfony routing component doesn't properly detect your https headers, so we added an explicit setting for it. It'll be in the next release. |
Expected behaviour
Control Panel to work with https
Actual behaviour
Randomly Statamic produces http links and creates a http redirect loop when using the Control Panel
Steps to reproduce
Server configuration
Operating system:
CentOS
Web server:
Apache
PHP version:
5
Statamic version:
2.1.18
Updated from an older Statamic or fresh install:
2.x -> 2.1.18
List of installed addons:
htaccess
If any logs (browser, server, or Statamic) are appropriate...
The text was updated successfully, but these errors were encountered: