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:6fKB.MGBIFyfM
test2:6fKuz.Dz6b4D2
test3:6f.gUfaqSjOmI

Advertisement