]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
sirona-aem - Rückbau vHost www.see-more-with-sirona.com &
authorPhilipp Dallig <philipp.dallig@pixelpark.com>
Mon, 14 Aug 2017 11:42:02 +0000 (13:42 +0200)
committerPhilipp Dallig <philipp.dallig@pixelpark.com>
Mon, 14 Aug 2017 11:42:02 +0000 (13:42 +0200)
www.exzellenzgruender.de

customer/sirona-aem/production.yaml

index dc5839b09315acafac527effe4426e4e7d4828e2..1cd1aa49f020bb27c9bed29b5cc281c6f8d1c3c9 100644 (file)
@@ -151,12 +151,6 @@ aem::domain_mappings:
   www.profiledentalimplants.com:
     aem_path: '/content/profiles'
     create_sling_mapping: true
-  www.exzellenzgruender.de:
-    aem_path: '/content/exzellenzgruender'
-    create_sling_mapping: true
-  www.see-more-with-sirona.com:
-    aem_path: '/content/see-more-with-sirona'
-    create_sling_mapping: true
   lp.dentsplysirona.com:
     aem_path: '/content/landingpages'
     create_sling_mapping: true
@@ -971,47 +965,17 @@ infra::profile::aem::publish::pp_vhosts:
           - '^/it-it http://www.jointheev.it/ [R=301,L]'
           - '^/es-es http://www.jointheev.es/ [R=301,L]'
           - '^(.*)$ http://www.profiledentalimplants.com/en-us.html [R=301,L]'
-# Sirona www.exzellenzgruender.de
+# Sirona www.exzellenzgruender.de - kein AEM-vHost
   exzellenzgruender:
     serveraliases:
       - www.exzellenzgruender.de
       - exzellenzgruender.de
-    docroot: '/opt/adobe/www/cache/content/exzellenzgruender'
     cert_servername: 'cerec.com'
     cert_customer: 'sirona'
     ssl_cert: '/etc/pki/tls/certs/cerec.com-cert.pem'
     ssl_key: '/etc/pki/tls/private/cerec.com-key.pem'
     ssl_chain: '/etc/pki/tls/certs/cerec.com-cert.pem'
-    docroot_owner: apache
-    setenvif:
-      - 'Origin "http(s)?://(www\.)?(sirona-cerec-test.azurewebsites.net|sirona-cerec-stage.azurewebsites.net|cerec.com|sirona-cerec-de.local:3000)$" AccessControlAllowOrigin=$0$1'
-    setenvifnocase:
-      - 'Accept-Language ^.*$ language=de-de'
-    headers:
-      - 'add Access-Control-Allow-Origin %%{ich-trickse}{AccessControlAllowOrigin}e env=AccessControlAllowOrigin'
-    aliases:
-      - { alias: /error_custom/ , path: /var/www/html/error_custom/ }
-    error_documents:
-      - { error_code: 404 , document: "/de-de/error-pages/404.html" }
-      - { error_code: 500 , document: "/de-de/error-pages/500.html" }
-      - { error_code: 502 , document: "/error_custom/error.shtml" }
-      - { error_code: 503 , document: "/error_custom/error.shtml" }
-    directories:
-      # docroot:
-      - provider: directory
-        path: '/opt/adobe/www/cache/content/exzellenzgruender'
-        sethandler: dispatcher-handler
-        options:
-          - FollowSymLinks
-      # error_documents
-      - provider: directory
-        path: /var/www/html/error_custom/
-        options:
-          - +Includes
     rewrites:
-      - comment: 'lanugage Rewrite use Env Vars'
-        rewrite_rule:
-          - '^/$ %%{ich-trickse}{REQUEST_SCHEME}://www.exzellenzgruender.de/%%{ich-trickse}{ENV:language}.html [R=301,L]'
       - comment: 'Migration to flagship site'
         rewrite_rule:
           - '^/de/vorteile$ https://www1.dentsplysirona.com/de-de/loesungen/themen/existenzgruender/vorteile.html [R=301,L]'
@@ -1022,47 +986,18 @@ infra::profile::aem::publish::pp_vhosts:
           - '^/de-de/vorteile.html$ https://www1.dentsplysirona.com/de-de/loesungen/themen/existenzgruender/vorteile.html [R=301,L]'
           - '^/de-de/information.html$ https://www1.dentsplysirona.com/de-de/loesungen/themen/existenzgruender/information.html [R=301,L]'
           - '^/de-de/produkte.html$ https://www1.dentsplysirona.com/de-de/loesungen/themen/existenzgruender/produkte.html [R=301,L]'
-# Sirona www.see-more-with-sirona.com
+          - '(.*) https://www1.dentsplysirona.com/de-de/loesungen/themen/existenzgruender.html [R=301,L]'
+# Sirona www.see-more-with-sirona.com - kein AEM-vHost
   see-more-with-sirona:
     serveraliases:
       - www.see-more-with-sirona.com
       - see-more-with-sirona.com
-    docroot: '/opt/adobe/www/cache/content/see-more-with-sirona'
     cert_servername: 'cerec.com'
     cert_customer: 'sirona'
     ssl_cert: '/etc/pki/tls/certs/cerec.com-cert.pem'
     ssl_key: '/etc/pki/tls/private/cerec.com-key.pem'
     ssl_chain: '/etc/pki/tls/certs/cerec.com-cert.pem'
-    docroot_owner: apache
-    setenvif:
-      - 'Origin "http(s)?://(www\.)?(sirona-cerec-test.azurewebsites.net|sirona-cerec-stage.azurewebsites.net|cerec.com|sirona-cerec-de.local:3000)$" AccessControlAllowOrigin=$0$1'
-    setenvifnocase:
-      - 'Accept-Language ^.*$ language=de-de'
-    headers:
-      - 'add Access-Control-Allow-Origin %%{ich-trickse}{AccessControlAllowOrigin}e env=AccessControlAllowOrigin'
-    aliases:
-      - { alias: /error_custom/ , path: /var/www/html/error_custom/ }
-    error_documents:
-      - { error_code: 404 , document: "/de-de/error-pages/404.html" }
-      - { error_code: 500 , document: "/de-de/error-pages/500.html" }
-      - { error_code: 502 , document: "/error_custom/error.shtml" }
-      - { error_code: 503 , document: "/error_custom/error.shtml" }
-    directories:
-      # docroot:
-      - provider: directory
-        path: '/opt/adobe/www/cache/content/see-more-with-sirona'
-        sethandler: dispatcher-handler
-        options:
-          - FollowSymLinks
-      # error_documents
-      - provider: directory
-        path: /var/www/html/error_custom/
-        options:
-          - +Includes
     rewrites:
-      - comment: 'lanugage Rewrite use Env Vars'
-        rewrite_rule:
-          - '^/$ %%{ich-trickse}{REQUEST_SCHEME}://www.see-more-with-sirona.com/%%{ich-trickse}{ENV:language}.html [R=301,L]'
       - comment: 'Migration to flagship site'
         rewrite_rule:
           - '^/de/3d$ https://www1.dentsplysirona.com/de-de/loesungen/themen/mit-sicherheit-mehr-sehen/3d-roentgen.html [R=301,L]'
@@ -1116,6 +1051,7 @@ infra::profile::aem::publish::pp_vhosts:
           - '^/en-us/security.html$ https://www1.dentsplysirona.com/en/solutions/topics/be-safe-see-more/security.html [R=301,L]'
           - '^/en-us/security/dosage.html$ https://www1.dentsplysirona.com/en/solutions/topics/be-safe-see-more/security/dosage.html [R=301,L]'
           - '^/en-us/cases.html$ https://www1.dentsplysirona.com/en/solutions/topics/be-safe-see-more/cases.html [R=301,L]'
+          - '(.*) https://www1.dentsplysirona.com/de-de/loesungen/themen/mit-sicherheit-mehr-sehen.html [R=301,L]'
 
 # Sirona www.cerec-com - kein AEM-vHost
   cerec-com:
@@ -2708,172 +2644,6 @@ aem::dispatcher::publish_farm:
       - 'Expires'
       - 'Content-Type'
       - 'Access-Control-Allow-Origin'
-  exzellenzgruender-de:
-    virtualhosts:
-      - 'www.exzellenzgruender.de'
-      - 'exzellenzgruender.de'
-    clientheaders:
-      - '*'
-    renders:
-      - { hostname: "127.0.0.1", port: '4503' }
-    filter:
-      - { type: 'deny', glob: '*' }
-      - { type: 'allow', url: '/' }
-      - { type: 'allow', url: '*.html' }
-      - { type: 'allow', url: '*.css'   }  # enable css
-      - { type: 'allow', url: '*.gif'   }  # enable gifs
-      - { type: 'allow', url: '*.ico'   }  # enable icos
-      - { type: 'allow', url: '*.js'    }  # enable javascript
-      - { type: 'allow', url: '*.png'   }  # enable png
-      - { type: 'allow', url: '*.swf'   }  # enable flash
-      - { type: 'allow', url: '*.jpg'   }  # enable jpg
-      - { type: 'allow', url: '*.jpeg'  }  # enable jpeg
-      - { type: 'allow', url: '*.svg'  }  # enable svg
-      - { type: 'allow', url: '*.ttf'  }  # enable ttf
-      - { type: 'allow', url: '*.woff'  }  # enable woff
-      - { type: 'allow', url: '*.woff2'  }  # enable woff2
-      - { type: 'allow', url: '*.eot'  }  # enable eot
-      - { type: 'allow', url: '*.pdf'  }  # enable pdf
-      - { type: 'allow', url: '*.wmv'  }  # enable wmv
-      - { type: 'allow', url: '*.psd'  }  # enable psd (Adobe Photoshop Dokument)
-      - { type: 'allow', url: '*.tif'  }  # enable tif
-      - { type: 'allow', url: '*.zip'  }  # enable zip
-      - { type: 'allow', url: '*.exe'  }  # enable exe
-      - { type: 'allow', url: '*.msi'  }  # enable msi
-      - { type: 'allow', url: '*.indd'  }  # enable indd (Adobe Indesign Dokument)
-      # Enable features
-      - { type: 'allow', url: '/libs/cq/personalization/*' } # enable personalization
-      - { type: 'allow', url: '/content/dam/api.json' } # enable generic asset JSON API
-      - { type: 'allow', url: '*.assetlibrary.json' } # enable asset library JSON API
-      - { type: 'allow', url: '*.articlelibrary.json' } # enable article library JSON API
-      - { type: 'allow', url: '*.assetdata.json' } # enable download basket JSON API
-      - { type: 'allow', url: '*.updatecheck.json' } # enable update check
-      - { type: 'allow', method: 'post', url: '*.forms.html' } # enable forms
-      # Security Rules
-      - { type: 'deny', url: '/etc/'  }
-      - { type: 'deny', url: '/libs/'  }
-      - { type: 'allow', url: '/etc/designs/*'  }
-      - { type: 'allow', url: '/etc/clientlibs/*'  }
-      - { type: 'allow', url: '/etc/segmentation.segment.js'  }
-      - { type: 'allow', url: '/libs/cq/personalization/components/clickstreamcloud/content/config.json'  }
-      - { type: 'allow', url: '/libs/wcm/stats/tracker.js'  }
-      - { type: 'allow', url: '/libs/cq/personalization/*'  }  #  (JS, CSS and JSON)
-      - { type: 'allow', url: '/libs/cq/security/userinfo.json'  }  #  (CQ user information)
-      - { type: 'allow', url: '/libs/granite/security/currentuser.json'  }  #  (data must not be cached)
-      - { type: 'allow', url: '/libs/cq/i18n/*'  }  #  (Internalization)
-      # CSRF
-      - { type: 'allow', url: '/libs/granite/csrf/token.json' } # enable CSRF token
-      # Deny content grabbing
-      - { type: 'deny', url: '*.infinity.json' }
-      - { type: 'deny', url: '*.tidy.json'     }
-      - { type: 'deny', url: '*.sysview.xml'   }
-      - { type: 'deny', url: '*.docview.json'  }
-      - { type: 'deny', url: '*.docview.xml'   }
-      - { type: 'deny', url: '*.*[0-9].json'   }
-      # Deny query
-      - { type: 'deny', url: '*.query.json' }
-    cache_docroot: '/opt/adobe/www/cache/content/exzellenzgruender'
-    cache_rules:
-      - { type: 'allow', glob: '*' }
-    cache_invalidate:
-      - { type: 'deny', glob: '*' }
-      - { type: 'allow', glob: '*.html' }
-      - { type: 'allow', glob: '/etc/segmentation.segment.js' }
-      - { type: 'allow', glob: '*/analytics.sitecatalyst.js' }
-    cache_allowed_clients:
-      - { type: 'deny', glob: '*' }
-      - { type: 'allow', glob: '127.0.0.1' }
-    cache_headers:
-      - 'X-Content-Type-Options'
-      - 'X-Frame-Options'
-      - 'X-XSS-Protection'
-      - 'Last-Modified'
-      - 'Expires'
-      - 'Content-Type'
-      - 'Access-Control-Allow-Origin'
-  see-more-with-sirona:
-    virtualhosts:
-      - 'www.see-more-with-sirona.com'
-      - 'see-more-with-sirona.com'
-    clientheaders:
-      - '*'
-    renders:
-      - { hostname: "127.0.0.1", port: '4503' }
-    filter:
-      - { type: 'deny', glob: '*' }
-      - { type: 'allow', url: '/' }
-      - { type: 'allow', url: '*.html' }
-      - { type: 'allow', url: '*.css'   }  # enable css
-      - { type: 'allow', url: '*.gif'   }  # enable gifs
-      - { type: 'allow', url: '*.ico'   }  # enable icos
-      - { type: 'allow', url: '*.js'    }  # enable javascript
-      - { type: 'allow', url: '*.png'   }  # enable png
-      - { type: 'allow', url: '*.swf'   }  # enable flash
-      - { type: 'allow', url: '*.jpg'   }  # enable jpg
-      - { type: 'allow', url: '*.jpeg'  }  # enable jpeg
-      - { type: 'allow', url: '*.svg'  }  # enable svg
-      - { type: 'allow', url: '*.ttf'  }  # enable ttf
-      - { type: 'allow', url: '*.woff'  }  # enable woff
-      - { type: 'allow', url: '*.woff2'  }  # enable woff2
-      - { type: 'allow', url: '*.eot'  }  # enable eot
-      - { type: 'allow', url: '*.pdf'  }  # enable pdf
-      - { type: 'allow', url: '*.wmv'  }  # enable wmv
-      - { type: 'allow', url: '*.psd'  }  # enable psd (Adobe Photoshop Dokument)
-      - { type: 'allow', url: '*.tif'  }  # enable tif
-      - { type: 'allow', url: '*.zip'  }  # enable zip
-      - { type: 'allow', url: '*.exe'  }  # enable exe
-      - { type: 'allow', url: '*.msi'  }  # enable msi
-      - { type: 'allow', url: '*.indd'  }  # enable indd (Adobe Indesign Dokument)
-      # Enable features
-      - { type: 'allow', url: '/libs/cq/personalization/*' } # enable personalization
-      - { type: 'allow', url: '/content/dam/api.json' } # enable generic asset JSON API
-      - { type: 'allow', url: '*.assetlibrary.json' } # enable asset library JSON API
-      - { type: 'allow', url: '*.articlelibrary.json' } # enable article library JSON API
-      - { type: 'allow', url: '*.assetdata.json' } # enable download basket JSON API
-      - { type: 'allow', url: '*.updatecheck.json' } # enable update check
-      - { type: 'allow', method: 'post', url: '*.forms.html' } # enable forms
-      # Security Rules
-      - { type: 'deny', url: '/etc/'  }
-      - { type: 'deny', url: '/libs/'  }
-      - { type: 'allow', url: '/etc/designs/*'  }
-      - { type: 'allow', url: '/etc/clientlibs/*'  }
-      - { type: 'allow', url: '/etc/segmentation.segment.js'  }
-      - { type: 'allow', url: '/libs/cq/personalization/components/clickstreamcloud/content/config.json'  }
-      - { type: 'allow', url: '/libs/wcm/stats/tracker.js'  }
-      - { type: 'allow', url: '/libs/cq/personalization/*'  }  #  (JS, CSS and JSON)
-      - { type: 'allow', url: '/libs/cq/security/userinfo.json'  }  #  (CQ user information)
-      - { type: 'allow', url: '/libs/granite/security/currentuser.json'  }  #  (data must not be cached)
-      - { type: 'allow', url: '/libs/cq/i18n/*'  }  #  (Internalization)
-      # CSRF
-      - { type: 'allow', url: '/libs/granite/csrf/token.json' } # enable CSRF token
-      # Deny content grabbing
-      - { type: 'deny', url: '*.infinity.json' }
-      - { type: 'deny', url: '*.tidy.json'     }
-      - { type: 'deny', url: '*.sysview.xml'   }
-      - { type: 'deny', url: '*.docview.json'  }
-      - { type: 'deny', url: '*.docview.xml'   }
-      - { type: 'deny', url: '*.*[0-9].json'   }
-      # Deny query
-      - { type: 'deny', url: '*.query.json' }
-    cache_docroot: '/opt/adobe/www/cache/content/see-more-with-sirona'
-    cache_rules:
-      - { type: 'allow', glob: '*' }
-    cache_invalidate:
-      - { type: 'deny', glob: '*' }
-      - { type: 'allow', glob: '*.html' }
-      - { type: 'allow', glob: '/etc/segmentation.segment.js' }
-      - { type: 'allow', glob: '*/analytics.sitecatalyst.js' }
-    cache_allowed_clients:
-      - { type: 'deny', glob: '*' }
-      - { type: 'allow', glob: '127.0.0.1' }
-    cache_headers:
-      - 'X-Content-Type-Options'
-      - 'X-Frame-Options'
-      - 'X-XSS-Protection'
-      - 'Last-Modified'
-      - 'Expires'
-      - 'Content-Type'
-      - 'Access-Control-Allow-Origin'
   landingpages:
     virtualhosts:
       - 'lp.dentsplysirona.com'