Apache /server-status/ gives a 404 not found
Posted
by
kapshure
on Server Fault
See other posts from Server Fault
or by kapshure
Published on 2010-10-14T00:28:11Z
Indexed on
2011/03/07
8:12 UTC
Read the original article
Hit count: 412
I am trying to solve a problem where Apache stats aren't displaying correctly in Munin. I've ran through quite a bit of checks and tests regarding Munin setup, but I think my issue is related to Apache, but my skill set there is lacking.
first, system info:
- monitored server
- CentOS 5.3
- kernel 2.6.18-128.1.1.el5
- Apache/2.2.3
"server-status" directive in httpd.conf (i've cross-compared this with another system that i did a successful parallel install of Munin on, correctly showing Apache stats, and the directive below is the same for both)
ExtendedStatus On
<Location /server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Location>
ran lynx http://localhost/server-status
got
HTTP/1.1 404
taking a look at Apache access_log:
127.0.0.1 - - [13/Oct/2010:07:00:47 -0700] "GET /server-status HTTP/1.0" 404 11237 "-" "Lynx/2.8.5rel.1 libwww-FM/2.14 SSL-MM/1.4.1 OpenSSL/0.9.8e-fips-rhel5"
mod_status is also loaded:
% grep "mod_status" /etc/httpd/conf/httpd.conf
LoadModule status_module modules/mod_status.so
iptables is turned off also
i did notice that the ownership status on httpd.conf on this system is root.root.. whereas the system that is displaying correctly is apache.www -- not certain that this matters?? its got to be permission issue, but i'm not certain where the permissions are messed up.
any thoughts on why the test of server-status is giving me a 404?
© Server Fault or respective owner