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:25XPLjbpwXXJc
test2:25.nr1XTD41pg
test3:25OHdend.mA6E

Advertisement