Shouldn't the locations for status use the Require instead of Allow?
Instead of this
shouldn't it be
Instead of this
Code:
<Location /whm-server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Location>
[% IF serve_server_status %]
<Location /server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from [% allow_server_info_status_from %]
</Location>
[% END -%]
[% IF serve_server_info %]
<Location /server-info>
SetHandler server-info
Order deny,allow
Deny from all
Allow from [% allow_server_info_status_from %]
</Location>
[% END -%]
Code:
<Location /whm-server-status>
SetHandler server-status
Require 127.0.0.1
</Location>
[% IF serve_server_status %]
<Location /server-status>
SetHandler server-status
Require [% allow_server_info_status_from %]
</Location>
[% END -%]
[% IF serve_server_info %]
<Location /server-info>
SetHandler server-info
Require [% allow_server_info_status_from %]
</Location>
[% END -%]