Forum: Klatsch und Tratsch
by amigage,
9. Mär 2017
Vielen Dank für den Link.
Die Lösung ist simpel:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteCond %{REQUEST_URI} !special\.php
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
</IfModule>
Forum: Klatsch und Tratsch
by amigage,
9. Mär 2017
Hallo,
ich habe ein Problem mit meiner Rewrite Konfiguration.
zunächst möchte ich alle http:// Aufrufe nach https:// umleiten.
Das ist soweit kein Problem:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}