在Apache 2.4上访问服务器信息时出现禁止(403)错误

时间:2020-01-12 18:30:24

标签: apache2 virtualhost http-status-code-403

尝试访问www.website.com/server-status时出现禁止错误消息

mod_info已启用

VirtualHost:

<VirtualHost *:80>
        ServerName www.website.com

        DocumentRoot /var/www/roastandbrew
        <Location /server-info>
                SetHandler server-status
                Order allow, deny
                Allow from all #just for testing 
        </Location>

        <Directory /var/www/roastandbrew>
                Options FollowSymLinks
                Require all granted
                AllowOverride All
        </Directory> 
</VirtualHost>

我在error.log中收到此错误:

 AH01630: client denied by server configuration: /var/www/roastandbrew/server-info

谢谢

0 个答案:

没有答案