]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
PPONRE-363
authorsascha.strassheim <sascha.strassheim@pixelpark.com>
Wed, 2 May 2018 12:13:33 +0000 (14:13 +0200)
committersascha.strassheim <sascha.strassheim@pixelpark.com>
Wed, 2 May 2018 12:13:33 +0000 (14:13 +0200)
customer/pixelpark/www-publicispixelpark-de.pixelpark.com.yaml

index f4845c4d4fef6b54473bed1b41ca8fdc25149d0f..930edc7b88bfae810d25bb0f0e112d2d39cd08fb 100644 (file)
@@ -136,17 +136,25 @@ infra::profile::typo3::projects_composer_monolith:
         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'