- '%%{ich-trickse}{HTTP:HTTPS} !=on [NC]'
rewrite_rule:
- '^(.*)$ https://%%{ich-trickse}{SERVER_NAME}$1 [R=301,L]'
- - index:
- comment: 'Coremedia Rewrites'
+ - comment: 'Redirects'
+ rewrite_rule:
+ - '^(/)?$ https://%%{ich-trickse}{SERVER_NAME}/de-DE [R=301,L]'
+ - '^/newsletter(/)?$ https://%%{ich-trickse}{SERVER_NAME}/de-DE/82/action/newsletter-registration?execution=e1s1 [R=301,L]'
+ - '^/kundenmagazin(/)?$ https://%%{ich-trickse}{SERVER_NAME}/de-DE/register-login?&next=order&orderItem=magazine [R=301,L]'
+ - '^/checkliste(/)?$ https://%%{ich-trickse}{SERVER_NAME}/de-DE/vorbereitung [R=301,L]'
+ - '^/haendlersuche(/)?$ https://%%{ich-trickse}{SERVER_NAME}/action/de-DE/116/action/vendor-search [R=301,L]'
+ - '^/planungskit(/)?$ https://%%{ich-trickse}{SERVER_NAME}/de-DE/register-login?&next=order&orderItem=kit [R=301,L]'
+ - comment: 'Coremedia Rewrites'
rewrite_rule:
- '^/login/(.*) /blueprint/servlet/login/$1 [PT,L]'
- '^/action/(.*) /blueprint/servlet/action/$1 [PT,L]'
- '^/server-status - [L]'
- '^/robots.txt /blueprint/servlet/robots/de-DE [PT,L]'
- '^/blueprint/(.*) /blueprint/$1 [PT,L]'
- - '^/de-DE/(.*)$ //blueprint/servlet/page/de-DE/$1 [PT,L]'
- - '^/$ /blueprint/servlet/page/de-DE [PT,L]'
+ - '^/de-DE/(.*)$ /blueprint/servlet/page/de-DE/$1 [PT,L]'
- '^/errors/(.*)$ /var/www/mhk/errors/$1 [L]'
- '^/assets/(.*)$ /var/www/mhk/errors/assets/$1 [L]'
- '^/traumkueche/(.*)$ /var/www/mhk/traumkueche/$1 [L]'
+ - '^/$ /blueprint/servlet/page/de-DE [PT,L]'
- '^/(.*) /blueprint/servlet/page/de-DE/$1 [PT,L]'
proxy_preserve_host: true
proxy_pass:
- '%%{ich-trickse}{HTTP:HTTPS} !=on [NC]'
rewrite_rule:
- '^(.*)$ https://%%{ich-trickse}{SERVER_NAME}$1 [R=301,L]'
- - index:
- comment: 'Coremedia Rewrites'
+ - comment: 'Redirects'
+ rewrite_rule:
+ - '^(/)?$ https://%%{ich-trickse}{SERVER_NAME}/de-DE [R=301,L]'
+ - '^/newsletter(/)?$ https://%%{ich-trickse}{SERVER_NAME}/de-DE/82/action/newsletter-registration?execution=e1s1 [R=301,L]'
+ - '^/kundenmagazin(/)?$ https://%%{ich-trickse}{SERVER_NAME}/de-DE/register-login?&next=order&orderItem=magazine [R=301,L]'
+ - '^/checkliste(/)?$ https://%%{ich-trickse}{SERVER_NAME}/de-DE/vorbereitung [R=301,L]'
+ - '^/haendlersuche(/)?$ https://%%{ich-trickse}{SERVER_NAME}/action/de-DE/116/action/vendor-search [R=301,L]'
+ - '^/planungskit(/)?$ https://%%{ich-trickse}{SERVER_NAME}/de-DE/register-login?&next=order&orderItem=kit [R=301,L]'
+ - comment: 'Coremedia Rewrites'
rewrite_rule:
- '^/login/(.*) /blueprint/servlet/login/$1 [PT,L]'
- '^/action/(.*) /blueprint/servlet/action/$1 [PT,L]'
- '^/server-status - [L]'
- '^/robots.txt /blueprint/servlet/robots/de-DE [PT,L]'
- '^/blueprint/(.*) /blueprint/$1 [PT,L]'
- - '^/de-DE/(.*)$ //blueprint/servlet/page/de-DE/$1 [PT,L]'
- - '^/$ /blueprint/servlet/page/de-DE [PT,L]'
+ - '^/de-DE/(.*)$ /blueprint/servlet/page/de-DE/$1 [PT,L]'
- '^/errors/(.*)$ /var/www/mhk/errors/$1 [L]'
- '^/assets/(.*)$ /var/www/mhk/errors/assets/$1 [L]'
- '^/traumkueche/(.*)$ /var/www/mhk/traumkueche/$1 [L]'
+ - '^/$ /blueprint/servlet/page/de-DE [PT,L]'
- '^/(.*) /blueprint/servlet/page/de-DE/$1 [PT,L]'
proxy_preserve_host: true
proxy_pass:
- '%%{ich-trickse}{HTTP:HTTPS} !=on [NC]'
rewrite_rule:
- '^(.*)$ https://%%{ich-trickse}{SERVER_NAME}$1 [R=301,L]'
- - index:
- comment: 'Coremedia Rewrites'
+ - comment: 'Redirects'
+ rewrite_rule:
+ - '^(/)?$ https://%%{ich-trickse}{SERVER_NAME}/de-DE [R=301,L]'
+ - '^/newsletter(/)?$ https://%%{ich-trickse}{SERVER_NAME}/de-DE/82/action/newsletter-registration?execution=e1s1 [R=301,L]'
+ - '^/kundenmagazin(/)?$ https://%%{ich-trickse}{SERVER_NAME}/de-DE/register-login?&next=order&orderItem=magazine [R=301,L]'
+ - '^/checkliste(/)?$ https://%%{ich-trickse}{SERVER_NAME}/de-DE/vorbereitung [R=301,L]'
+ - '^/haendlersuche(/)?$ https://%%{ich-trickse}{SERVER_NAME}/action/de-DE/116/action/vendor-search [R=301,L]'
+ - '^/planungskit(/)?$ https://%%{ich-trickse}{SERVER_NAME}/de-DE/register-login?&next=order&orderItem=kit [R=301,L]'
+ - comment: 'Coremedia Rewrites'
rewrite_rule:
- '^/login/(.*) /blueprint/servlet/login/$1 [PT,L]'
- '^/action/(.*) /blueprint/servlet/action/$1 [PT,L]'
- '^/server-status - [L]'
- '^/robots.txt /blueprint/servlet/robots/de-DE [PT,L]'
- '^/blueprint/(.*) /blueprint/$1 [PT,L]'
- - '^/de-DE/(.*)$ //blueprint/servlet/page/de-DE/$1 [PT,L]'
- - '^/$ /blueprint/servlet/page/de-DE [PT,L]'
+ - '^/de-DE/(.*)$ /blueprint/servlet/page/de-DE/$1 [PT,L]'
- '^/errors/(.*)$ /var/www/mhk/errors/$1 [L]'
- '^/assets/(.*)$ /var/www/mhk/errors/assets/$1 [L]'
- '^/traumkueche/(.*)$ /var/www/mhk/traumkueche/$1 [L]'
+ - '^/$ /blueprint/servlet/page/de-DE [PT,L]'
- '^/(.*) /blueprint/servlet/page/de-DE/$1 [PT,L]'
proxy_preserve_host: true
proxy_pass: