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
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'
directories:
# docroot:
- provider: directory
- path: '/opt/adobe/www/cache/content/microsite'
+ path: '/opt/adobe/www/cache/content/microsite/de'
sethandler: dispatcher-handler
options:
- FollowSymLinks
- '(.*) 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:
- { 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: