]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
FBB-WS: fix rewrite
authorOliver Böttcher <oliver.boettcher@pixelpark.com>
Mon, 3 Jul 2017 09:19:45 +0000 (11:19 +0200)
committerOliver Böttcher <oliver.boettcher@pixelpark.com>
Mon, 3 Jul 2017 09:19:45 +0000 (11:19 +0200)
customer/fbb-ws/test.yaml

index 23580ac02a4556fcc204662eb25a181170801827..00bcfbb3bf7271fb018bd4f222c335ce71e825b7 100644 (file)
@@ -164,12 +164,12 @@ infra::profile::apache::pp_vhosts:
     rewrites:
       - comment: 'BERFBB-3603 http'
         rewrite_cond:
-          - '%%{ich-trickse}{HTTPS} off'
+          - '%%{ich-trickse}{HTTP:HTTPS} !=on'
         rewrite_rule:
           - '^/webservices/payment/getProductTicketListForCustomerId.php(.*)$ http://%%{ich-trickse}{HTTP_HOST}/webservices/payment/getProductTicketList.php$1'
       - comment: 'BERFBB-3603 https'
         rewrite_cond:
-          - '%%{ich-trickse}{HTTPS} on'
+          - '%%{ich-trickse}{HTTP:HTTPS} =on'
         rewrite_rule:
           - '^/webservices/payment/getProductTicketListForCustomerId.php(.*)$ https://%%{ich-trickse}{HTTP_HOST}/webservices/payment/getProductTicketList.php$1'