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:dadmL/nV12mDE
test2:dakOnIA3oOBgU
test3:daIeg.a2J4Ftg

Advertisement