キーワードはhtaccessとhtpasswd.
ちゃんと理解してないから,メモだけ.
htpasswd -c /usr/.htpasswd test
New password:
Re-type new password:
htaccessの内容
AuthUserFile /usr/.htpasswd
AuthGroupFile /dev/null
AuthName "please type your ID and pass"
AuthType Basic
require valid-user
キーワードはhtaccessとhtpasswd.
ちゃんと理解してないから,メモだけ.