]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
ODT - int - fix rewrites
authorOliver Böttcher <oliver.boettcher@pixelpark.com>
Fri, 2 Feb 2018 12:09:22 +0000 (13:09 +0100)
committerOliver Böttcher <oliver.boettcher@pixelpark.com>
Fri, 2 Feb 2018 12:09:22 +0000 (13:09 +0100)
customer/mbvd-odt/int-cms-odt-daimler-com.pixelpark.net.yaml

index f889ab606729be9ce6a79172cf27b8a7a4eeba43..d7db84983f81618419801385e5184cc10481cc06 100644 (file)
@@ -42,7 +42,7 @@ infra::profile::apache::pp_vhosts:
       - opencms_to_slash_http:
         comment: '/opencms to /'
         rewrite_rule:
-           - 'RewriteRule ^/opencms/(.*)$ http://localhost:8080/opencms/$1 [P,L]'
+           - '^/opencms/(.*)$ http://localhost:8080/opencms/$1 [P,L]'
       - https:
         comment: 'all to https'
         rewrite_rule:
@@ -66,7 +66,7 @@ infra::profile::apache::pp_vhosts:
       - opencms_to_slash_https:
         comment: '/opencms to /'
         rewrite_rule:
-           - 'RewriteRule ^/opencms/(.*)$ http://localhost:8081/opencms/$1 [P,L]'
+           - '^/opencms/(.*)$ http://localhost:8081/opencms/$1 [P,L]'
       - proxy_https:
         rewrite_cond:
           - '%%{ich-trickse}{REQUEST_URI} !^/(opencms|resources|export|skins|genImages|genImagesTemp|fonts)'