Ubuntu 14.04にログインする前にApache 403エラーが発生します。

Ubuntu 14.04にログインする前にApache 403エラーが発生します。

LAMP SERVERがインストールされているデスクトップバージョンのubuntuがあります。サーバーを再起動してネットワーク経由でアクセスしようとすると、エラー403 Forbiddenが表示されますが、sshからシステムにログインするか、そのシステムから直接ログインすると、次の方法でファイルネットワークを表示できます。 Apache error.logを確認しました。

[Thu Sep 03 07:36:24.360012 2015] [authz_core:error] [pid 1243] [client 192.168.1.130:43895] AH01630: client denied by server configuration: /home/USERNAME/public_html
[Thu Sep 03 07:36:24.802882 2015] [authz_core:error] [pid 1243] [client 192.168.1.130:43895] AH01630: client denied by server configuration: /home/USERNAME/public_html
[Thu Sep 03 07:36:31.539698 2015] [authz_core:error] [pid 1244] [client 192.168.1.130:43896] AH01630: client denied by server configuration: /home/USERNAME/public_html
[Thu Sep 03 07:36:31.603388 2015] [authz_core:error] [pid 1244] [client 192.168.1.130:43896] AH01630: client denied by server configuration: /home/USERNAME/public_html

ベストアンサー1

サーバー構成を確認してください。<Directory>ドキュメントルートのエントリが必要です。次のようなことを言うと思います。

Allow from 127.0.0.1

に変更しますが、Allow from allルートやその他の機密領域ではなく、ドキュメントルートのみを変更します。

おすすめ記事