]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
fbb-werbung - add htaccess
authorPhilipp Dallig <philipp.dallig@pixelpark.com>
Tue, 28 Mar 2017 17:03:46 +0000 (19:03 +0200)
committerPhilipp Dallig <philipp.dallig@pixelpark.com>
Tue, 28 Mar 2017 17:03:46 +0000 (19:03 +0200)
customer/fbb-werbung/red-werbung-berlin-airport-de.pixelpark.net.yaml
customer/fbb-werbung/werbung-berlin-airport-de.pixelpark.net.yaml

index 873d3948152647a123a21e902b1d20bf45869b75..37dd62afa9a02b7ccfa437a72c14322d4a76f713 100644 (file)
@@ -13,6 +13,10 @@ site::profile::pg_server::dbs:
     password: ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBejCCAXYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAb8nBpE8Ogg2c6C03678fjiLbWL1J9zpSg6SYFKGdJWzoMg9LGXjo0GkkmbhJGGAOiU8K6cyFtjsgABpNEG1RYpVafjebL6xbUcsybi430IXC28mBWLvBDYrsBoeuFrsfdtdZie9D8zWh33A9SYYsb2TTZdAgs4fWWlcHMtSrEsPAcxNcU7+xmau4VjySBRucRp4Gc5fTULqlvB2cz+qo3hbMvA1bzwS69QnU2+254dmMWgwyOcZQLd7y27vF/G44FQxazQyXMsM91nAl8m0LkgOxUiNA9LEzF4RqydYqgG7ITKFnqOu5hXwELXKxRUtpqjmMdUxloDzqd9+AqRsHvTBMBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBBzSnchMo1PitSSV9QcMadHgCCbcSXxTqr9Y4A1Xrp7QUHqMerPaCesoo2bqGqjks6AyA==]
     network: 93.188.107.14/32
 
+site::profile::apache::htdigest:
+  server:
+    www: ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBejCCAXYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEApyFigQKZtSjOZ9mdef9iGLod/RO52axnoOGQLxzLWwHuBUYGqrXGI7kZJ8YUEVb53/3aWP93o0CLb47Y21oenWxKhiaHQXuhqtWxqTXwN7/my0WsNqj2Yw2T4xL68P+YzHtVTQL71QVqGmUF0403HSa8BphfhKQOPZxcvvFJWqOFvkkbtbitEX7w3bTvRMd3jIZwb0ebS/JvdgpIIzKbfEwdIb2jRfkW/r6Q5lVA6q3BHEeZc0MFt+FF44Wac0GAPVzGjzTb6yoouPaLc5x3W0eYUduTU87eOKiFcux/AK2udiMG+nBqbhDOXQTokm64cJI40z2Er+D40DWa67+x9jBMBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBAaHHCGA7nU/YTVopcLZ+n7gCB+qHyef8u1qrDIv0MYH1R2wiw+3q5E/Xv+/vcSZt8v7Q==]
+
 site::profile::apache::pp_vhosts:
   werbung:
     docroot: /var/www/werbung
@@ -40,6 +44,14 @@ site::profile::apache::pp_vhosts:
           - MultiViews
         allow_override:
           - None
+      - 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:
index b70a10328ae799e61e25de7682328b9e0b96eb5a..6e59072aa5fd356c09926bea5c251e9719127b34 100644 (file)
@@ -13,6 +13,10 @@ site::profile::pg_server::dbs:
     password: ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBejCCAXYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEACuevcEHaFU/0zTkbj3Rhvv94deqLQKFcaYuqAI1m2ug0LVajmDBpyy/Vkl3tgAngpD6CGMQiVUkA7/YwWDUw6G6LcyZw+FeKPDU/o1+8mpvobCwmubWsteCt8AxmCMo4zJe0pcpDscqaLvc0pIY2xXbM5hlv+jESfFHwexdIVfUxhucPRcSW+A7kctrQYBYq3MOf9nuhUaqM3zCEIGXSECVcoIYVHz5Zogm9uGMf5oCIDUJ3VjS56nKFgMH1XCswuMjhqHHMTwTmT/HMMQ2EtvT+H48lQ6MEcUEMSz21jeCS4jB5VgnTy0rtkhE8uJ41sg3fpWNe+F3+ZgjSF1riODBMBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBBm0y0G0hgfikMiQGCpinpXgCAZr6Xcc6m9Nxq/6/h6SonfoEY86dSds+u/zxvbfVZWsA==]
     network: 93.188.107.15/32
 
+site::profile::apache::htdigest:
+  server:
+    www: ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBejCCAXYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEApyFigQKZtSjOZ9mdef9iGLod/RO52axnoOGQLxzLWwHuBUYGqrXGI7kZJ8YUEVb53/3aWP93o0CLb47Y21oenWxKhiaHQXuhqtWxqTXwN7/my0WsNqj2Yw2T4xL68P+YzHtVTQL71QVqGmUF0403HSa8BphfhKQOPZxcvvFJWqOFvkkbtbitEX7w3bTvRMd3jIZwb0ebS/JvdgpIIzKbfEwdIb2jRfkW/r6Q5lVA6q3BHEeZc0MFt+FF44Wac0GAPVzGjzTb6yoouPaLc5x3W0eYUduTU87eOKiFcux/AK2udiMG+nBqbhDOXQTokm64cJI40z2Er+D40DWa67+x9jBMBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBAaHHCGA7nU/YTVopcLZ+n7gCB+qHyef8u1qrDIv0MYH1R2wiw+3q5E/Xv+/vcSZt8v7Q==]
+
 site::profile::apache::pp_vhosts:
   werbung:
     docroot: /var/www/werbung
@@ -47,6 +51,14 @@ site::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: