1

It works using this configuration: <VirtualHost *:80> ServerName XXX.XXX.XXX.XX ServerAlias www.XXX.XXX.XXX.XX <Location /server-status> SetHandler server-status Require all granted Require host example.com </Location> </VirtualHost>


1

So here's my test with Apache 2.4.51: $ cat /etc/apache2/httpd.conf ServerRoot "/usr/lib64/apache2" User apache Group apache PidFile /var/run/apache2.pid LoadModule access_compat_module modules/mod_access_compat.so LoadModule authz_core_module modules/mod_authz_core.so LoadModule log_config_module modules/mod_log_config.so LoadModule unixd_module ...


Only top voted, non community-wiki answers of a minimum length are eligible