[TYPO3-german] Benutze Protokoll: von https auf http zurückspringen
Philipp Gampe
philipp.gampe at typo3.org
Mon Apr 30 19:50:53 CEST 2012
Hi David Greiner,
David Greiner wrote:
> Hallo Ingo,
> hallo Steffen!
>
> Ich habe den Fehler gefunden. Im TS fehlte der Schnipsel für die Änderung
> der BaseUrl je nach dem ob HTTPS aktiv ist oder nicht.
>
> Für die Nachwelt:
> [globalString = _SERVER|HTTPS=on]
> config.baseURL = https://domain.de/
> [else]
> config.baseURL = http://domain.de/
> [global]
Besser config.absRefPrefix verwenden anstatt config.baseURL.
Dann werden alle Pfade absolut erzeugt. Im Allgemeinen sollte lieber
absRefPrefix verwendet werden (insbesondere wenn realurl verwendet wird).
Viele Grüße
--
Philipp Gampe – PGP-Key 0AD96065 – TYPO3 UG Bonn/Köln
Documentation – linkvalidator
TYPO3 .... inspiring people to share!
More information about the TYPO3-german
mailing list