Basic認証
とりあえず、、、
httpd.conf
AllowOverride AuthConfig
AuthUserFile /path/to/.htpasswd
AuthGroupFile /dev/null
AuthName "Please enter your ID and password"
AuthType Basic
require valid-user
order deny,allow
古いRaQだと
AuthPAM_Enabled off
をいれないと動かん場合あり。
パスワードファイルを新規作成
$ htpasswd -c /path/to/.htpasswd username