Authentication

Basic認証用のファイルを作成します。

/path/to/secret/.htaccess

AuthType Basic
AuthName "Input ID and Password."
AuthUserFile /path/to/secret/.htpasswd
Require valid-user

/path/to/secret/.htpasswd

test1:faXiVPE7xyD2E
test2:faaccFPwZY206
test3:fa5C5pyASwhkA

Advertisement