Die URL wurde nicht gefunden, weil in /etc/apache/httpd.conf keine solche URL mit dem Handler mod_status konfiguriert wurde. Dies kann man wie folgt nachholen:
# Allow server status reports, with the URL of http://servername/server-status
# Change the ".your_domain.com" to match your domain to enable.
#
SetHandler server-status
Order deny,allow
Deny from all
Allow from .localdomain # also possible: localhost
Allow from 127.0.0.1
Die Zeile »Allow from 127.0.0.1« ist dabei notwendig, weil dies die Client-Identifikation durch »apachectl status« ist. Man kann den Server-Status nun auch über http://localhost/server-status aufrufen.
Die Datei /usr/lib/apache/1.3/070mod_status.info enthält u.a. »Directives: ExtendedStatus«. Diese Direktive kann in /etc/apache/httpd.conf _nach_ der Zeile
LoadModule status_module /usr/lib/apache/1.3/mod_status.so
oder etwas wie
Include /etc/apache/modules.conf
verwendet werden. Etwa so:
ExtendedStatus On
Wahrscheinlich ist auch eine Integration mit dem neuen /etc/apache/conf.d/-Mechanismus möglich, das wurde jedoch nicht verscht.
Leave a Reply