0910
basic認証用のファイルを作る
メモ
basic認証用のファイル群を作る
htpasswdで.htpasswdファイルを作る
# htpasswd -c /var/htdocs/.htpasswd username
New password:
Re-type new password:
Adding password for user username
.htaccessファイルを作って.htpasswdファイルを指定する
# vi /var/htdocs/html/.htaccess
AuthType Basic
AuthName "Auth Area"
AuthUserFile /var/htdocs/.htpasswd
Require user username








