I cant get it to work somehow.
i editted the /etc/httpd/conf/extra/httpd-info.conf file and set:
next i did a config check:
also made sure the needed modules are loaded:
restart apache and vistied the url:
and get:
Forbidden
You don't have permission to access this resource.
error_log says:
[Mon Sep 02 12:16:37.666608 2019] [access_compat:error] [pid 29236:tid 140170980239104] [client 213.61.xx.xxx:43470] AH01797: client denied by server configuration: /var/www/html/server-status
so how to fix this?
I'm on centos 7 with the latest directadmin and everything updated
i editted the /etc/httpd/conf/extra/httpd-info.conf file and set:
Code:
<Location /server-status>
SetHandler server-status
Require host www.ourserverhostname.tld
Require ip 213.61.xx.xxx
</Location>
next i did a config check:
Code:
apachectl -t
Syntax OK
also made sure the needed modules are loaded:
Code:
httpd -M |grep authz
authz_host_module (static)
authz_groupfile_module (static)
authz_user_module (static)
authz_dbm_module (static)
authz_owner_module (static)
authz_dbd_module (static)
authz_core_module (static)
httpd -M |grep info
info_module (static)
httpd -M |grep status
status_module (static)
restart apache and vistied the url:
Code:
www.ourserverhostname.tld/server-status
Forbidden
You don't have permission to access this resource.
error_log says:
[Mon Sep 02 12:16:37.666608 2019] [access_compat:error] [pid 29236:tid 140170980239104] [client 213.61.xx.xxx:43470] AH01797: client denied by server configuration: /var/www/html/server-status
so how to fix this?
I'm on centos 7 with the latest directadmin and everything updated