xamppでbasic認証を行う方法
2009 年 11 月 14 日 土曜日.htaccess
=======================================
AuthType Basic
AuthName “Basic access authentication”
AuthUserFile /xampp/htdocs/sundaikai/password.dat
require valid-user
.htaccess
=======================================
c:\>xampp\apache\bin\htpasswd -mc c:\htpassword.dat test
New password:パスワードを入力
Re-type new password:パスワード再入力
Adding password for user test と表示されればCドライブ直下に暗号化済みのhtpassword.datが完成
※この場合のtestはbasic認証のIDとなる。