Apache/2.4.7(Ubuntu)AH01630:客户端拒绝服务器配置,尽管"需要全部授权"

use*_*588 2 apache authentication ubuntu configuration

我有错误:

[authz_core:error] [pid 20259] [client 127.0.0.1:45677] AH01630: client denied by server     configuration: /home/user/www/myhost.dev
Run Code Online (Sandbox Code Playgroud)

和403禁止

在Apache/2.4.7(Ubuntu)当然我添加了Require all grant

我的配置是:

<VirtualHost *:80>

ServerName myhost.dev

ServerAdmin admin@myhost.dev

DocumentRoot /home/user/www/myhost.dev/web

<Directory /home/user/www/myhost.dev/web>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>

ErrorLog /var/log/apache2/error.myhost.dev.log

# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel notice

CustomLog /var/log/apache2/access.myhost.dev.log combined

</VirtualHost>
Run Code Online (Sandbox Code Playgroud)

Sha*_*han 5

您的问题可能在Apache2中找到:'AH01630:服务器配置拒绝客户端'希望它对您有所帮助

基本上你需要看看http://httpd.apache.org/docs/2.4/upgrading.html