Concrete5 and HTTPS error in dashboard
Permalink
Hi!
My site is working on HTTPS (not on HTTP).
When I try to edit Page Properties or change Design of Page in Sitemap inside Dashboard and click "Save" I see infinite loading animation.
When I open Console at Chrome Developer Tools I see:
Blocked a frame with origin "https://*****.ru" from accessing a frame with origin "http://*****.ru". The frame requesting access has a protocol of "https", the frame being accessed has a protocol of "http". Protocols must match.
Please help me.
P.S. Concrete5 v. 5.6.1.2
My site is working on HTTPS (not on HTTP).
When I try to edit Page Properties or change Design of Page in Sitemap inside Dashboard and click "Save" I see infinite loading animation.
When I open Console at Chrome Developer Tools I see:
Blocked a frame with origin "https://*****.ru" from accessing a frame with origin "http://*****.ru". The frame requesting access has a protocol of "https", the frame being accessed has a protocol of "http". Protocols must match.
Please help me.
P.S. Concrete5 v. 5.6.1.2
As I can see - problem with configuration of Apache Web Server.
Problem solved.
Check for SSL need to be via ENV:HTTPS not HTTPS
.htaccess:
Check for SSL need to be via ENV:HTTPS not HTTPS
.htaccess:
RewriteEngine on RewriteCond %{ENV:HTTPS} !1 RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [R,L]
<a href="https://www.concrete5.org/community/forums/chat/help-newbie-seo/#955052" title="nice post" rel="nofollow">nice post</a>
hello guys
.
https://en.wikipedia.org/wiki/John_the_Apostle
This worked for my site
RewriteEngine On
RewriteCond %{HTTPS} !=on [OR]
RewriteCond %{HTTP_HOST} !^www\.
RewriteCond %{HTTP_HOST} ^(?:www\.)?(.+)
RewriteRule ^http://www.%1%{REQUEST_URI} [R,L]
RewriteEngine On
RewriteCond %{HTTPS} !=on [OR]
RewriteCond %{HTTP_HOST} !^www\.
RewriteCond %{HTTP_HOST} ^(?:www\.)?(.+)
RewriteRule ^http://www.%1%{REQUEST_URI} [R,L]
Lines added to /config/site.php
My server do not provide $_SERVER['HTTPS'] but provide $_SERVER["HTTP_X_HTTPS"]
And changed index.php for forced redirection to HTTPS
But when I try to access to (for example)
https://*****.ru/index.php/tools/required/i18n_js...
$_SERVER["HTTP_X_HTTPS"] is not set.
This problem with all requests what ended with js, css, jpg, png...
This cause to infinite redirect loop error.