質問者の伊藤です。
>> htaccessによるパスワード保護について質問致します。
>> 症状としてはブラウザーから『.htaccess』の置いてあるディレクトリに
>> アクセスがあった時にパスワードを求めるダイアログが出ないのです。
> これだけだとよく分からないですが、.htaccessの設定が有効ではないのでは。
> 該当ディレクトリもしくはそれより上位のディレクトリに、
> AllowOverride None
>の設定がされていないでしょうか?
># htaccessによる、設定の上書きができないのではないでしょうか。
httpd.confを確認し設定し直したらパスワードを求めるダイアログが
現れました。
httpd.confの中には
<Directory "/usr/local/apache/htdocs">
#
# This may also be "None", "All", or any combination of "Indexes",
# "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
Options Indexes FollowSymLinks MultiViews
#
# This controls which options the .htaccess files in directories can
# override. Can also be "All", or any combination of "Options", "FileInfo",
# "AuthConfig", and "Limit"
#
AllowOverride None
#
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all
</Directory>
とあり,『AllowOverride None』の部分を『AllowOverride All』としました。
Allだけでなく"Options", "FileInfo","AuthConfig","Limit"も調べてみます。
アドバイスありがとうございました。