【发布时间】:2014-08-24 13:54:11
【问题描述】:
我有错误:
[authz_core:error] [pid 20259] [client 127.0.0.1:45677] AH01630: client denied by server configuration: /home/user/www/myhost.dev
和 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>
【问题讨论】:
标签: apache authentication ubuntu configuration