]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
ODT - fix rewrites
authorOliver Böttcher <oliver.boettcher@pixelpark.com>
Thu, 6 Apr 2017 09:14:35 +0000 (11:14 +0200)
committerOliver Böttcher <oliver.boettcher@pixelpark.com>
Thu, 6 Apr 2017 09:14:35 +0000 (11:14 +0200)
customer/mbvd-odt/cms-odt-daimler-com.pixelpark.net.yaml

index 71fea58c4897da771adc65a6b756e9c49313cf65..4bb47712b88c9b9b62a67cc482d69d0379b7a85d 100644 (file)
@@ -43,7 +43,7 @@ infra::profile::apache::pp_vhosts:
         rewrite_cond:
           - '%%{ich-trickse}{HTTP:HTTPS} !=on [NC]'
         rewrite_rule:
-          - '^(.*)$ https://%%{ich-trickse}{SERVER_NAME}$1 [L,R=301]'
+          - '^/system/(.*)$ https://%%{ich-trickse}{SERVER_NAME}/system/$1 [L,R=301]'
       - login:
         rewrite_rule:
           - '^(/)?$ https://%%{ich-trickse}{SERVER_NAME}/system/login [L,R=301]'