An appropriate representation of the requested resource could not be found on this server.

AutiCodes

Verified User
Joined
Jun 9, 2024
Messages
40
Hi, so i wanted to enable `server-status` from Apache.
I have in `/etc/httpd/conf/extra/httpd-info.conf` this:
```
<Location /server-status>
SetHandler server-status
</Location>
```
(i know, no auth is bad, just an demo)

now im getting:
1732224182047.png

How to fix this?
 
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?
 
Back
Top