GOAL
ベーシック認証を .htaccess で設置する
Installing Basic Authentication with .htaccess
ENVIRONMENT
- apache2.4 with mod_auth_basic
PARAMETER
- Authentication Name
- PARAM_01:
- .htpasswd file full path
- PARAM_02:
CODE
AuthType Basic
AuthName "[PARAM_01]"
AuthUserFile [PARAM_02]/.htpasswd
Require valid-user