allow_override:
- All
directoryindex: index.php index.html
-# - location1:
-# provider: location
-# path: '/api/v1/cdm-ham/system-status-handler'
-# auth_type: Basic
-# auth_name: "Restricted Content"
-# auth_user_file: '/var/www/.htaccess_fbb_api'
-# require:
-# requires:
-# - 'user hh-push'
-# - 'ip 10.5.13.142 10.5.13.144'
-# enforce: all
-# - location2:
-# provider: location
-# path: '/api/v1/cdm-ham/notification-handler'
-# auth_type: Basic
-# auth_name: "Restricted Content"
-# auth_user_file: '/var/www/.htaccess_fbb_api'
-# require:
-# requires:
-# - 'user hh-push'
-# - 'ip 10.5.13.142 10.5.13.144'
-# enforce: all
+ - location1:
+ provider: location
+ path: '/my-test1'
+ auth_type: Basic
+ auth_name: "Restricted Content"
+ auth_user_file: '/etc/httpd/conf.d/basic-auth-hh'
+ require:
+ requires:
+ - 'user hh-push'
+ - 'ip 10.5.13.142 10.5.13.144'
+ enforce: all
+ - location2:
+ provider: location
+ path: '/my-test2'
+ auth_type: Basic
+ auth_name: "Restricted Content"
+ auth_user_file: '/etc/httpd/conf.d/basic-auth-hh'
+ require:
+ requires:
+ - 'user hh-push'
+ - 'ip 10.5.13.142 10.5.13.144 217.66.51.248'
+ enforce: all
allow_override:
- All
directoryindex: index.php index.html
-# - location1:
-# provider: location
-# path: '/api/v1/cdm-ham/system-status-handler'
-# auth_type: Digest
-# auth_name: server
-# auth_digest_provider: file
-# auth_digest_algorithm: MD5
-# auth_user_file: '/etc/httpd/htdigest'
-# auth_type: Basic
-# auth_name: "Restricted Content"
-# auth_user_file: '/var/www/.htaccess_fbb_api'
-# require:
-# requires:
-# - 'user hh-push'
-# - 'ip 10.5.13.142 10.5.13.144'
-# enforce: all
-# - location2:
-# provider: location
-# path: '/api/v1/cdm-ham/notification-handler'
-# auth_type: Basic
-# auth_name: "Restricted Content"
-# auth_user_file: '/var/www/.htaccess_fbb_api'
-# require:
-# requires:
-# - 'user hh-push'
-# - 'ip 10.5.13.142 10.5.13.144'
-# enforce: all
+ - location1:
+ provider: location
+ path: '/my-test1'
+ auth_type: Basic
+ auth_name: "Restricted Content"
+ auth_user_file: '/etc/httpd/conf.d/basic-auth-hh'
+ require:
+ requires:
+ - 'user hh-push'
+ - 'ip 10.5.13.142 10.5.13.144'
+ enforce: all
+ - location2:
+ provider: location
+ path: '/my-test2'
+ auth_type: Basic
+ auth_name: "Restricted Content"
+ auth_user_file: '/etc/httpd/conf.d/basic-auth-hh'
+ require:
+ requires:
+ - 'user hh-push'
+ - 'ip 10.5.13.142 10.5.13.144 217.66.51.248'
+ enforce: all