[TYPO3-german] Benutzer auf https umleiten - mixed content verhindern

Michael Kasten home at m-kasten.de
Wed Sep 4 16:32:29 CEST 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Warum nicht die BaseUrl flexibel setzen mit einer Condition?

config.baseURL = http://meinedomain.de/
[globalString = ENV:HTTPS=on]
config.baseURL = https://meinedomain.de/
[global]




am 04.09.2013 12:53 Yvon Folz schrieb:
> Hallo Liste,
> 
> ich betreue eine Typo3 Präsenz. Gestern habe ich SSL auf unserem Server eingerichtet. Jetzt
> müsste ich um "mixed content" zu verhindern alle Aufrufe die über https kommen von http auf
> https umleiten.
> 
> Hoffe ich habe mich verständlich ausgedrückt. Meine .htaccess sieht folgendermaßen aus:
> 
> php_value unserialize_callback_func '__autoload'
> 
> RewriteCond %{HTTP_HOST} !^www\.DOMAIN\.com [NC] RewriteCond %{HTTP_HOST} !^$ RewriteRule ^(.*)
> http://www.DOMAIN.com/$1 [L,R=301]
> 
> RewriteEngine On RewriteRule 
> ^(typo3|t3lib|tslib|fileadmin|typo3conf|typo3temp|uploads|showpic\.php|favicon\.ico|awstats|stats|cgi-bin|robots\.txt)/
>
> 
- - [L]
> RewriteRule ^typo3$ typo3/index_re.php [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond
> %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-l RewriteRule .* index.php [L]
> 
> Jemand eine Idee, oder muss ich im realurl etwas schrauben?
> 
> Gruß Yvon _______________________________________________ TYPO3-german mailing list 
> TYPO3-german at lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
> 

- -- 
Michael Kasten | http://m-kasten.de
Im wirklichen Leben gibt es kein [Strg]+[Z]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJSJ0R9AAoJEF1/iIvWnG8NnCsH/2lWVS8Lzuuizieoq+RPsL39
YMg5XgoQzneOFZWsH0b/43efRPIO+NPtmw4Jq803a71Dzuzt+GW70M6RmjrONvz8
A83vnBdNRZJYhChJTrEl/KftynT69D2QLHbRcetBqtj3RwPZUNtweJQ/YELTotAG
siDdY+NHCeK7trrcXIlw71WUZyRNZpJCAXPRH6dI47eM6smvD6t/QY2R81I/iyQn
eCRg2p7u0iqNJn1U9MJxdKmiIzTVTjyA9tJCQjCmNNOt5+1S3BZZVvVrHWpbj+HP
+B08il9FfDECxp9zciQQK+gqzve54TOspNgKfhWOuEIpmRDQk1mZ8j1sMYVQ06Y=
=9y+u
-----END PGP SIGNATURE-----


More information about the TYPO3-german mailing list