Discussion:
[TYPO3-english] force https
Katja Lampela
2016-11-23 13:52:01 UTC
Permalink
Hi,

I try to setup a site with forcing https://address.net.

Now main part of the site is ok and loads the resources from https
address, but some typo3temp and extension css or js are loaded from
http://address.net/typo3temp or http://address.net/typo3conf/ext/...

This results warnings in many browsers.

At the moment I have this in .htaccess:
RewriteEngine On
RewriteCond %{HTTPS} !on
RewriteCond %{HTTP_HOST} address\.net$
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]

and in template setup
config.baseURL = https://address.net/
config.absRefPrefix = //
or https://address.net/

And I have installed ext https_enforcer.
Still for example tx_news and ke_search load css from http://.

How can I force everything https?
--
Kind regards,
Katja Lampela
www.lieska.net
Philipp Gampe
2016-11-23 17:00:48 UTC
Permalink
Hi Katja Lampela,
Post by Katja Lampela
How can I force everything https?
Try removing the baseUrl setting with

config.baseUrl >

Best regards
--
Philipp Gampe – PGP-Key 0AD96065 – LFCS
TYPO3 CMS Certified Integrator – Certified Developer – Active contributor
TYPO3 ... inspiring people to share!
Katja Lampela
2016-11-23 17:16:04 UTC
Permalink
Hi Philipp Gampe,
Post by Philipp Gampe
Post by Katja Lampela
How can I force everything https?
Try removing the baseUrl setting with
config.baseUrl >
Thank you, that did it.
--
Kind regards,
Katja Lampela
www.lieska.net
Loading...