[TYPO3-english] Trouble with lockSSL / url_scheme / adminPanel
kiessling at pluspol.info
Thu Apr 25 17:54:29 CEST 2013
i'm having trouble with the combination of lockSSL and the url_scheme
- for the frontend, i set the pages with forms to use https (url_scheme
= 2), all others to use http (url_scheme = 1). So when a user visits
e.g. the contact page and then another page, he will switch back to http.
- for the backend, lockSSL is set to 2, so everything uses https
When i want to preview pages in the frontend,
tests the lockSSL mode and then returns false for the backend login in
-> adminPanel is not rendered, previewing pages is not possible
With https_enforcer and some TypoScript conditions, this was never a
problem: a logged in backend user was always allowed to use https, a
regular visitor got redirected to http.
For now, i reset all normal pages to url_scheme = 0, thus leaving a
visitor with https, once he visited a form.
Any hint on what's wrong or what should be changed?
Should a logged in user NOT be redirected in the frontend or should the
check for the login return true for the http request, though lockSSL is
set to 2?
Thanks in advance,
More information about the TYPO3-english