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:be4/0E0Va/D1E
test2:belvoBluYa02o
test3:bexpmaHJw1UQI

Advertisement