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:eaMhCeXdKUNZs
test2:eaK.5VnmTASdI
test3:eaK/.ra4MNRuc

Advertisement