ホームFAQNetSHAKER BlueRack Ver.2.0 > B204028

FAQ



■ NetSHAKER BlueRack Ver.2.0 FAQ


B204028 BASIC認証の設定を行ったディレクトリにアクセスすると「404 Not Found error」で動作しません。

仮想サイト作成の際に自動的に作成されるWebディレクトリ直下のerrorディレクトリが削除されている場合、BASIC認証の設定ファイルが正しく設定されていてもブラウザ上に次のメッセージが表示されることがあります。
---------------------------------------------------------------
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.

Additionally, a 404 Not Found error was encountered while trying
to use an ErrorDocument to handle the request.
---------------------------------------------------------------

サイトのWebサーバの設定ファイルに
----------------------------------------------------------
DocumentRoot /home/.sites/XX/siteX/web
ErrorDocument 401 /error/401-authorization.html
ErrorDocument 403 /error/403-forbidden.html
ErrorDocument 404 /error/404-file-not-found.html
ErrorDocument 500 /error/500-internal-server-error.html
----------------------------------------------------------
の記述があります。
ErrrorDocumentに記述されているファイルを設定してください。

<ご参考>
ErrorDocumentファイルの雛形は
/etc/skel/vsite/ja/web/error以下にあります。
戻る