「レンタルサーバー」のYahoo!知恵袋検索結果 2012年01月06日10時36分
- 2011-11-11 01:24:15
- Basic認証について:ログインできない。原因は何か。自分のサイトを管理するためのデータベース、phpAdminのこと。■【phpAdmin2.11】Basic認証 80ポート にアクセスしユーザーID+パスワードを正しく入力してますが、通過出来ずに再度ログインを要求されます。その時に、一旦キャンセル又は×閉じるを選択すると以下のエラー文がでます。 「Authorization RequiredThis 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.Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.」※ログインが出来ませんが、設定している.htaccessを外すと当然ですが簡単にアクセス出来ます…。 .htaccessの内容は以下の通りでレンタルサーバー会社が指定の通りの記述内容(サーバー会社ではApacheが使われています)。「AuthType BasicAuthName "Authentication for phpMyAdmin"AuthUserFile /home/****/*******.com/admin/.htpasswd<LIMIT GET POST> Satisfy Any require valid-user order deny,allow deny from all</LIMIT>」config.inc.phpの記述は以下、「 /* Servers configuration */$i = 0;/* Server localhost (config:*******) [1] */$i++;$cfg['Servers'][$i]['host'] = 'localhost';$cfg['Servers'][$i]['extension'] = 'mysql';$cfg['Servers'][$i]['connect_type'] = 'tcp';$cfg['Servers'][$i]['compress'] = false;$cfg['Servers'][$i]['auth_type'] = 'config';$cfg['Servers'][$i]['user'] = '*******';$cfg['Servers'][$i]['password'] = '*******';$cfg['Servers'][$i]['only_db'] = '*******';/* End of servers configuration */」私のPCのOSは、Windows7でIE9やChrome Plusなどを使用しています。■前述のようにphpAdminへはログインできませんが、たまたま本日、他人のゲスト用に鍵のかかったホームページにも行きましたがログインできました。同じく80ポートへの認証アクセスです。確実に入力ミスはないと断言できます。他、何が原因と思われるでしょうか..。疑問点・ご指摘・解決策などありましたらお願いいたします。
- 2011-11-11 01:24:15
- Basic認証について:ログインできない。原因は何か。自分のサイトを管理するためのデータベース、phpAdminのこと。■【phpAdmin2.11】Basic認証 80ポート にアクセスしユーザーID+パスワードを正しく入力してますが、通過出来ずに再度ログインを要求されます。その時に、一旦キャンセル又は×閉じるを選択すると以下のエラー文がでます。 「Authorization RequiredThis 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.Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.」※ログインが出来ませんが、設定している.htaccessを外すと当然ですが簡単にアクセス出来ます…。 .htaccessの内容は以下の通りでレンタルサーバー会社が指定の通りの記述内容(サーバー会社ではApacheが使われています)。「AuthType BasicAuthName "Authentication for phpMyAdmin"AuthUserFile /home/****/*******.com/admin/.htpasswd<LIMIT GET POST> Satisfy Any require valid-user order deny,allow deny from all</LIMIT>」config.inc.phpの記述は以下、「 /* Servers configuration */$i = 0;/* Server localhost (config:*******) [1] */$i++;$cfg['Servers'][$i]['host'] = 'localhost';$cfg['Servers'][$i]['extension'] = 'mysql';$cfg['Servers'][$i]['connect_type'] = 'tcp';$cfg['Servers'][$i]['compress'] = false;$cfg['Servers'][$i]['auth_type'] = 'config';$cfg['Servers'][$i]['user'] = '*******';$cfg['Servers'][$i]['password'] = '*******';$cfg['Servers'][$i]['only_db'] = '*******';/* End of servers configuration */」私のPCのOSは、Windows7でIE9やChrome Plusなどを使用しています。■前述のようにphpAdminへはログインできませんが、たまたま本日、他人のゲスト用に鍵のかかったホームページにも行きましたがログインできました。同じく80ポートへの認証アクセスです。確実に入力ミスはないと断言できます。他、何が原因と思われるでしょうか..。疑問点・ご指摘・解決策などありましたらお願いいたします。
Powered by Yahoo!知恵袋