- https:
comment: 'all to https'
rewrite_rule:
- - '^(.*)$ https://int-cms-odt-daimler-com.pixelpark.net$1 [L,R=301]'
+ - '^/system/(.*)$ https://int-cms-odt-daimler-com.pixelpark.net/system/$1 [L,R=301]'
+ - login:
+ rewrite_rule:
+ - '^(/)?$ https://int-cms-odt-daimler-com.pixelpark.net/system/login [L,R=301]'
- proxy_non_https:
rewrite_cond:
- '%%{ich-trickse}{REQUEST_URI} !^/(opencms|resources|export|skins|genImages|genImagesTemp|fonts)'
rewrite_rule:
- '^/opencms/(.*)$ /$1 [R,L]'
rewrites_non_ssl:
- - https:
- comment: 'all to https'
+ - https_forms:
+ rewrite_cond:
+ - '%%{ich-trickse}{REQUEST_URI} ^/(r/|w/|anmeldung|forms_retail|forms_wholesale) [NC]'
rewrite_rule:
- - '^(.*)$ https://int-cms-odt-daimler-com.pixelpark.net$1 [L,R=301]'
+ - '^(.*)$ https://int-newsletter-mercedes-benz-de.pixelpark.net$1 [R=301,L,QSA,NE]'
- proxy_non_https:
rewrite_cond:
- '%%{ich-trickse}{REQUEST_URI} !^/(opencms|resources|export|skins|genImages|genImagesTemp|fonts)'
rewrite_rule:
- '^/opencms/(.*)$ /$1 [R,L]'
rewrites_non_ssl:
- - https:
- comment: 'all to https'
+ - https_forms:
+ rewrite_cond:
+ - '%%{ich-trickse}{REQUEST_URI} ^/(r/|w/|anmeldung|forms_retail|forms_wholesale) [NC]'
rewrite_rule:
- - '^(.*)$ https://int-cms-odt-daimler-com.pixelpark.net$1 [L,R=301]'
+ - '^(.*)$ https://int-newsletter-smart-de.pixelpark.net$1 [R=301,L,QSA,NE]'
- proxy_non_https:
rewrite_cond:
- '%%{ich-trickse}{REQUEST_URI} !^/(opencms|resources|export|skins|genImages|genImagesTemp|fonts)'
rewrite_rule:
- '^/opencms/(.*)$ /$1 [R,L]'
rewrites_non_ssl:
- - https:
- comment: 'all to https'
+ - https_forms:
+ rewrite_cond:
+ - '%%{ich-trickse}{REQUEST_URI} ^/(r/|w/|anmeldung|forms_retail|forms_wholesale) [NC]'
rewrite_rule:
- - '^(.*)$ https://int-cms-odt-daimler-com.pixelpark.net$1 [L,R=301]'
+ - '^(.*)$ https://int-newsletter-truckworks-de.pixelpark.net$1 [R=301,L,QSA,NE]'
- proxy_non_https:
rewrite_cond:
- '%%{ich-trickse}{REQUEST_URI} !^/(opencms|resources|export|skins|genImages|genImagesTemp|fonts)'
docroot: /var/www/html
ssl: true
cert_servername: 'wildcard.pixelpark.net'
- cert_customer: 'pixelpark'
+ cert_customer: 'pixelpark'
ssl_cert: '/etc/pki/tls/certs/wildcard.pixelpark.net-cert.pem'
ssl_key: '/etc/pki/tls/private/wildcard.pixelpark.net-key.pem'
ssl_chain: '/etc/pki/tls/certs/wildcard.pixelpark.net-cert.pem'