I'm trying to configure /server-status on my Apache vhosts setup. I have https running, and the vhosts. The Mac is running its own httpd, but with my configurations. Everything works as it should, except that I can't find how to configure the server-status thing. I get this in the error log. client denied by server configuration: /Users/robert/www/Chalmers/server-status

I have the required modules enabled;

# Required modules: mod_authz_core, mod_authz_host,
#                   mod_info (for the server-info handler),
#                   mod_status (for the server-status handler)

and in httpd.info.conf I have

# Allow server status reports generated by mod_status,
# with the URL of http://servername/server-status
# Change the ".example.com" to match your domain to enable.

<Location /server-status>
    SetHandler server-status
    Require host robert-chalmers.uk

# ExtendedStatus controls whether Apache will generate "full" status
# information (ExtendedStatus On) or just basic information (ExtendedStatus
# Off) when the "server-status" handler is called. The default is Off.
ExtendedStatus On
<Location /server-info>
    SetHandler server-info
    Order allow,deny
    Require host localhost
    Require ip 127

I know the system is looking at it because at one point, I have .robert-chalmers.uk in the conf file and it returned this in the error log.

client denied by server configuration: /Users/robert/www/Chalmers/server-status
access check of '.robert-chalmers.uk' to /server-status failed, reason: unable to get the remote host name

I have now reverted that to localhost. But I still can't get it to check the server-status. Or server-info either for that matter.

Does anyone have any experience of this on the Mac OSX 10.15.7 thanks Robert

  • I think I solved it. Created a folder in the root called server-status with correct permissions. Set a Require IP to the local IP. as per the www logs. server-info also working? – Harry McGovern Oct 21 '20 at 13:27

You must log in to answer this question.

Browse other questions tagged .