AutiCodes
Verified User
- Joined
- Jun 9, 2024
- Messages
- 40
<Location /server-status>
SetHandler server-status
# Require host .example.com
Require ip 127
Require ip 83.xx.xx.xx
</Location>
#
# 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
#
# Allow remote server configuration reports, with the URL of
# http://servername/server-info (requires that mod_info.c be loaded).
# Change the ".example.com" to match your domain to enable.
#
<Location /server-info>
SetHandler server-info
# Require host .example.com
Require ip 127
Require ip 83.xx.xx.xx
</Location>
@Richard G are you not using password on the page which is added default by DirectAdmin since 2022 I guess?I have this and that is working:
Code:<Location /server-status> SetHandler server-status # Require host .example.com Require ip 127 Require ip 83.xx.xx.xx </Location> # # 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 # # Allow remote server configuration reports, with the URL of # http://servername/server-info (requires that mod_info.c be loaded). # Change the ".example.com" to match your domain to enable. # <Location /server-info> SetHandler server-info # Require host .example.com Require ip 127 Require ip 83.xx.xx.xx </Location>
Maybe it's the require ip 127 you're missing?
No. That was indeed changed couple of years ago. But passwords an be bruteforced. I've tried it once and either after an apache update the password did not work anymore or I wanted to prevent bruteforcing. Don't know for sure anymore, but I like ip access better anyway.are you not using password on the page