Forum Moderators: phranque
I'm trying to get server status information through either
apache2ctl status
or
http://www.mydomain.com/server-status
I can't get either to work. I keep getting:
Not FoundThe requested URL /server-status was not found on this server.
_________________________________________________________________Apache/2.2.3 (Debian) PHP/5.2.0-8+etch11 mod_ssl/2.2.3
OpenSSL/0.9.8c Server at localhost Port 80
Here's the relevant part of my apache2.conf:
<IfModule mod_status.c>
# Allow server status reports generated by mod_status,
# with the URL of [servername...]
# Change the ".example.com" to match your domain to enable.
#
<Location /server-status>
SetHandler server-stat
Order deny,allow
Allow from all
</Location>
</IfModule>
The "Allow from all" is for testing purposes only. Once I have this working I'll set it to the proper domain. Anyway, I'm sure the module is loaded since if I change the "Allow from all" to "Deny from all", then instead of "Not Found" error, I get an "Access Denied" error.
So what am I doing wrong here?
Thanks in advance.
If there's any indication that the file might have actually contained this incorrect line when you got it, please report this error to the people who manage the Apache+scripting 'package' you installed, and/or report it to apache.org; They'd be grateful to know about it so that they can fix it, and perhaps add an FAQ about it.
Jim