require:
- local
rewrites:
- - comment: 'http to https'
+ - alias:
+ comment: 'Weiterleitung auf echte URL'
rewrite_cond:
- - '%%{ich-trickse}{HTTPS} !=on'
+ - '%%{ich-trickse}{HTTP_HOST} !^www\.publicispixelpark\.de$ [NC]'
rewrite_rule:
- - '(.*) https://www.publicispixelpark.de%%{ich-trickse}{REQUEST_URI} [R=301,L]'
-
- - comment: 'http to https'
- rewrite_cond:
- - '%%{ich-trickse}{HTTP_HOST} ^https://publicispixelpark.de$'
- rewrite_rule:
- - '(.*) https://www.publicispixelpark.de%%{ich-trickse}{REQUEST_URI} [R=301,L]'
+ - '^(.*)$ https://www.publicispixelpark.de$1 [L,R=301]'
+
+# rewrites:
+# - comment: 'http to https'
+# rewrite_cond:
+# - '%%{ich-trickse}{HTTPS} !=on'
+# rewrite_rule:
+# - '(.*) https://www.publicispixelpark.de%%{ich-trickse}{REQUEST_URI} [R=301,L]'
+
+# - comment: 'http to https'
+# rewrite_cond:
+# - '%%{ich-trickse}{HTTP_HOST} ^https://publicispixelpark.de$'
+# rewrite_rule:
+# - '(.*) https://www.publicispixelpark.de%%{ich-trickse}{REQUEST_URI} [R=301,L]'
php_admin_value:
max_input_vars: '1500'