]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
spk: modify rewrites
authorAndreas Gerstenberg <gerstenberg@pixelpark.com>
Wed, 16 Aug 2017 12:34:09 +0000 (14:34 +0200)
committerAndreas Gerstenberg <gerstenberg@pixelpark.com>
Wed, 16 Aug 2017 12:34:09 +0000 (14:34 +0200)
customer/spk-spar-checker/test.yaml

index 055a8e7f290909d8a6a56d3b903fc8d0dc05f12e..754c726f8ea6e0c3a8dd62a6549a9efa1190f0e2 100644 (file)
@@ -86,11 +86,11 @@ infra::profile::apache::pp_vhosts:
             rewrite_cond:
               - '%%{ich-trickse}{REQUEST_URI}::$1 ^(/.+)/(.*)::\2$'
             rewrite_rule:
-              - '^().*)$ - [E=BASE:%1]'
+              - '^(.*)$ - [E=BASE:%1]'
           - comment: 'sfp index'
             rewrite_rule:
               - '^(.*)$ %{ENV:BASE}/index.php [L]'
-      
+
       - directory_api:
         provider: directory
         path: '/var/www/spar-checker/sparchecker-backend/public/api/'
@@ -114,7 +114,7 @@ infra::profile::apache::pp_vhosts:
             rewrite_cond:
               - '%%{ich-trickse}{REQUEST_URI}::$1 ^(/.+)/(.*)::\2$'
             rewrite_rule:
-              - '^().*)$ - [E=BASE:%1]'
+              - '^(.*)$ - [E=BASE:%1]'
           - comment: 'api index'
             rewrite_rule:
               - '^(.*)$ %{ENV:BASE}/index.php [L]'