服务器配置拒绝客户端(Apache,ISPConfig 3)

时间:2014-03-26 18:50:31

标签: php apache ubuntu ubuntu-server

我正在为大学的工作托管Ubuntu服务器。我对此很陌生,我遵循了本教程:

http://www.howtoforge.com/perfect-server-ubuntu-12.04-lts-apache2-bind-dovecot-ispconfig-3

它运行良好,我试图在/ var / www目录上放一个测试php文件,它工作得很好,但在安装ISPConfig 3后,我无法访问任何文件。我总是得到403禁止错误。

在错误日志中有以下消息:

[Wed Mar 26 20:15:02.185290 2014] [authz_core:error] [pid 2995] [client 127.0.0.1:40245] AH01630: client denied by server configuration: /var/www/
[Wed Mar 26 20:20:01.288804 2014] [authz_core:error] [pid 2994] [client 127.0.0.1:40251] AH01630: client denied by server configuration: /var/www/
[Wed Mar 26 20:20:35.272490 2014] [authz_core:error] [pid 2997] [client 78.62.218.86:64487] AH01630: client denied by server configuration: /var/www/
[Wed Mar 26 20:20:35.814397 2014] [authz_core:error] [pid 2997] [client 78.62.218.86:64487] AH01630: client denied by server configuration: /var/www/

权限:

/var/www folder permission /var/www permissions

DocumentRoot(/ etc / apache2 / sites-available / 000-default):

ServerAdmin webmaster@localhost
DocumentRoot /var/www

Apache2.conf包含:

<Directory />
    Options FollowSymLinks
    AllowOverride None
    Require all denied
</Directory>

<Directory /usr/share>
    AllowOverride None
    Require all granted
</Directory>

<Directory /var/www/>
    Options Indexes FollowSymLinks
    AllowOverride None
    Require all granted
</Directory>

我正在使用Apache / 2.4.6和Ubuntu Server 13.10

0 个答案:

没有答案