allow_override:
- All
directoryindex: index.php index.html
- - location1:
- provider: location
- path: '/'
- auth_type: Digest
- auth_name: server
- auth_digest_provider: file
- auth_digest_algorithm: MD5
- auth_user_file: '/etc/httpd/htdigest'
- auth_require: 'valid-user'
+# - location1:
+# provider: location
+# path: '/'
+# auth_type: Digest
+# auth_name: server
+# auth_digest_provider: file
+# auth_digest_algorithm: MD5
+# auth_user_file: '/etc/httpd/htdigest'
+# auth_require: 'valid-user'
setenv:
- 'MAUTIC_ENV live'
+ rewrites:
+ - alias:
+ comment: 'Weiterleitung auf https'
+ rewrite_cond:
+ - '%%{ich-trickse}{HTTP:HTTPS} !=on [NC]'
+ rewrite_rule:
+ - '^(.*)$ https://campaign.pepperl-fuchs.de$1 [L,R=301]'
+ - alias1:
+ comment: 'Weiterleitung auf Unterseite'
+ rewrite_cond:
+ - '%%{ich-trickse}{HTTP_HOST} ^campaign.pepperl-fuchs.de$ [NC]'
+ rewrite_rule:
+ - '^(/?)$ https://campaign.pepperl-fuchs.de//feldbusmodule$1 [L,R=301]'
+ setenvif_ssl:
+ - 'HTTPS on HTTPS=on'
infra::profile::cron::cronjobs:
mautic_update: