I'm running a webserver on Debian Etch with Apache 2. I have several virtual hosts defined.
I'm trying to get server status information through either
or
Code:
http://www.mydomain.com/server-status
I can't get either to work. I keep getting:
Code:
Not Found
The 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:
Code:
<IfModule mod_status.c>
# Allow server status reports generated by mod_status,
# with the URL of http://servername/server-status
# 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.