![]() |
カレッヂ |
質問者 認証失敗
投稿日 2008/11/24(月) 01:54:37
[削除] (返信・回答が付いた後にこの質問の削除はできません)
サーバーにアクセス制限を設けようとして .htaccessファイルと.htpasswdファイルを 作成して設置しました。 その後、ブラウザからアクセスした時は IDとパスワードを聞かれるので、入力しても同じ画面がでて最終的には下のような画面が出て、 入室出来ません。 Authorization Required This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required. -------------------------------------------------------------------------------- Apache/1.3.39 Server at www9.atpages.jp Port 80 .htaccessのファイルの中身は AuthUserFile /home/owner005007/hp/.htpasswd AuthGroupFile /dev/null AuthName "Secret Area" AuthType Basic require valid-user <Files ~ "^.(htpasswd|htaccess)$"> deny from all </Files> やり方が悪いのか、エラーが出ます. 環境は、ウィンドウズビスタホームプレミアムSP1です。 どのようにすれば、うまく認証のページができるのでしょうか。
【プロバイダ】http://atpages.jp/ |
返信(回答)する
このページ:http://www.rescue.ne.jp/CGI-BBS/auth/passwd/20081124015437.shtml | Web裏技 |