我已将httpd版本从2.2更新为2.4。虚拟主机正在运行,但服务器状态不断给我403错误......
VirtualHost的配置:
<VirtualHost *:80>
ServerName myserver.com
<Location /server-status>
SetHandler server-status
Require all granted
</Location>
</VirtualHost>
当我尝试访问服务器状态时,日志出错:
[Wed Feb 21 13:35:46.746710 2018] [core:error] [pid 29073:tid 139839416555264] (13)Permission denied: [client 10.100.00.00:60634] AH00035: access to /server-status denied (filesystem path '/etc/httpd/htdocs') because search permissions are missing on a component of the path
我已经在虚拟主机中使用deny和allow尝试了不同的设置,但是没有一个能帮助我......还有htdocs上的chmod 777 ..
有什么建议吗?