From: sambufe Date: Mon, 24 Apr 2017 14:46:30 +0000 (+0200) Subject: enabled htaccess on werbung-berlin-airport-de X-Git-Tag: v0.1.0~3116^2~6 X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=9ecd2058baafccfc8ff687b7db0ea3e259da4615;p=pixelpark%2Fhiera.git enabled htaccess on werbung-berlin-airport-de --- diff --git a/customer/fbb-werbung/werbung-berlin-airport-de.pixelpark.net.yaml b/customer/fbb-werbung/werbung-berlin-airport-de.pixelpark.net.yaml index aff295d5..3f8f0372 100644 --- a/customer/fbb-werbung/werbung-berlin-airport-de.pixelpark.net.yaml +++ b/customer/fbb-werbung/werbung-berlin-airport-de.pixelpark.net.yaml @@ -50,9 +50,17 @@ infra::profile::apache::pp_vhosts: require: - 'ip 217.66.51.0/24' - 'ip 93.188.107.0/26' + - 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' rewrites: - comment: 'Alles auf https umleiten.' rewrite_cond: - '%%{ich-trickse}{HTTPS} !=on' rewrite_rule: - - ^(.*)$ https://%%{ich-trickse}{HTTP_HOST}$1 [R=301,L] \ No newline at end of file + - ^(.*)$ https://%%{ich-trickse}{HTTP_HOST}$1 [R=301,L]