docroot_group: apache
docroot_mode: '2775'
directories:
- - directory_root:
- provider: directory
+ # directory_root:
+ - provider: directory
path: '/var/www/marketing'
addhandlers:
- { handler: "proxy:unix:/var/run/php5-fpm-marketing.sock|fcgi://./" , extensions: '.php' }
- All
directoryindex: index.php index.html
-# - location1:
-# provider: location
+# - provider: location
# path: '/'
# auth_type: Digest
# auth_name: server
# auth_user_file: '/etc/httpd/htdigest'
# auth_require: 'valid-user'
-# - location2
-# provider: 'location'
+# - provider: 'location'
# path: '/s/'
# require: 'ip 217.66.50.0/24'
# require: 'ip 217.66.51.0/24'
setenvif_ssl:
- 'HTTPS on HTTPS=on'
rewrites:
- - alias:
- comment: 'Weiterleitung auf https'
+ - comment: 'Weiterleitung auf https'
rewrite_cond:
- '%%{ich-trickse}{HTTPS} !=on [NC]'
rewrite_rule:
- '^(.*)$ https://campaign.pepperl-fuchs.de$1 [R=301,L]'
- - alias1:
- comment: 'Weiterleitung auf Unterseite'
+ - comment: 'Weiterleitung auf Unterseite'
rewrite_cond:
- '%%{ich-trickse}{ENV:mautic_access} !=true'
- '%%{ich-trickse}{REQUEST_URI} ^/s/login'
docroot_group: apache
docroot_mode: '2775'
directories:
- - directory_root:
- provider: directory
+ - provider: directory
path: '/var/www/marketing'
addhandlers:
- { handler: "proxy:unix:/var/run/php5-fpm-marketing.sock|fcgi://./" , extensions: '.php' }
allow_override:
- All
directoryindex: index.php index.html
- - location1:
- provider: location
+ - provider: location
path: '/'
auth_type: Digest
auth_name: server