Webページへのアクセスにユーザー名とパスワードによるアクセス制限をかける。
[root@host3 ~]# vi /etc/httpd/conf/httpd.conf
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
# AllowOverride None
AllowOverride All ← Allにする(.htaccessを許可)
[root@host3 ~]# /etc/rc.d/init.d/httpd restart ← Webサーバー設定反映
httpd を停止中: [ OK ]
httpd を起動中: [ OK ]