From 0022e0a0f45e1a55b2ac02b512901575fc3589c2 Mon Sep 17 00:00:00 2001
From: Philipp Dallig <philipp.dallig@pixelpark.com>
Date: Thu, 22 Jun 2017 11:45:43 +0200
Subject: [PATCH] mobile-aem - change domain-mapping

---
 customer/mobile-aem/production.yaml | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/customer/mobile-aem/production.yaml b/customer/mobile-aem/production.yaml
index 92c7930f..51127d53 100644
--- a/customer/mobile-aem/production.yaml
+++ b/customer/mobile-aem/production.yaml
@@ -48,7 +48,7 @@ aem::domain_mappings:
     aem_path: '/content/motor-talk/de'
     create_sling_mapping: true
   microsite-motortalk-de.pixelpark.net:
-    aem_path: '/content/microsite'
+    aem_path: '/content/microsite/de'
     create_sling_mapping: true
 
 # Apache Author
@@ -140,7 +140,7 @@ infra::profile::aem::publish::pp_vhosts:
   microsite-motortalk:
     serveraliases:
       - microsite-motortalk-de.pixelpark.net
-    docroot: '/opt/adobe/www/cache/content/microsite'
+    docroot: '/opt/adobe/www/cache/content/microsite/de'
     cert_servername: 'wildcard.pixelpark.net'
     cert_customer: 'pixelpark'
     ssl_cert: '/etc/pki/tls/certs/wildcard.pixelpark.net-cert.pem'
@@ -152,7 +152,7 @@ infra::profile::aem::publish::pp_vhosts:
     directories:
       # docroot:
       - provider: directory
-        path: '/opt/adobe/www/cache/content/microsite'
+        path: '/opt/adobe/www/cache/content/microsite/de'
         sethandler: dispatcher-handler
         options:
           - FollowSymLinks
@@ -164,7 +164,7 @@ infra::profile::aem::publish::pp_vhosts:
           - '(.*) https://%%{ich-trickse}{HTTP_HOST}%%{ich-trickse}{REQUEST_URI} [R=301,L]'
       - comment: 'lanugage Rewrite use Env Vars'
         rewrite_rule:
-          - '^/$ %%{ich-trickse}{REQUEST_SCHEME}://%%{ich-trickse}{HTTP_HOST}/%%{ich-trickse}{ENV:language}.html [R=301,L]'
+          - '^/$ %%{ich-trickse}{REQUEST_SCHEME}://%%{ich-trickse}{HTTP_HOST}/beispiel-microsite.html [R=301,L]'
 
 # Use Alias function if updated to Puppet 4
 aem::dispatcher::publish_farm:
@@ -416,7 +416,7 @@ aem::dispatcher::publish_farm:
       - { type: 'deny', url: '*.*[0-9].json'   }
       # Deny query
       - { type: 'deny', url: '*.query.json' }
-    cache_docroot: '/opt/adobe/www/cache/content/microsite'
+    cache_docroot: '/opt/adobe/www/cache/content/microsite/de'
     cache_rules:
       - { type: 'allow', glob: '*' }
     cache_invalidate:
-- 
2.39.5