- www.ankyloscongress.com
- ankyloscongress.com
docroot: '/opt/adobe/www/cache/content/events/ankylos-congress-2018'
- ssl: false
+ cert_servername: 'www.ankyloscongress.com'
+ cert_customer: 'sirona'
+ ssl_cert: '/etc/pki/tls/certs/www.ankyloscongress.com-cert.pem'
+ ssl_key: '/etc/pki/tls/private/www.ankyloscongress.com-key.pem'
+ ssl_chain: '/etc/pki/tls/certs/www.ankyloscongress.com-cert.pem'
docroot_owner: apache
setenvifnocase:
- 'Accept-Language ^.*$ language=en'
- '%%{ich-trickse}{HTTP_HOST} !^www\. [NC]'
rewrite_rule:
- '^(.*)$ %%{ich-trickse}{REQUEST_SCHEME}://www.%%{ich-trickse}{HTTP_HOST}%%{ich-trickse}{REQUEST_URI} [R=301,L]'
+ - comment: 'http to https'
+ rewrite_cond:
+ - '%%{ich-trickse}{HTTPS} !=on'
+ rewrite_rule:
+ - '(.*) https://%%{ich-trickse}{HTTP_HOST}%%{ich-trickse}{REQUEST_URI} [R=301,L]'
- comment: 'lanugage Rewrite use Env Vars'
rewrite_rule:
- '^/$ %%{ich-trickse}{REQUEST_SCHEME}://www.ankyloscongress.com/%%{ich-trickse}{ENV:language}.html [R=301,L]'