server-status
am 09.08.2007 00:01:31 von SteveI'm trying to set up server-status on my production server so I get a
better feel for what's going on - I'll then plug it in to a version of
rrd, probably munin - when it's all working.
Prod servers use loads of virtual hosting, rewriting, etc, and wanting to
keep this out of the way, I've created a separate virthost under the
127.0.0.1 namevirtualhost just for this. This is the configuration
NameVirtualHost 127.0.0.1:80
ServerAdmin steve@yobank.com
ServerName localhost.localdomain
DocumentRoot /www/local
ErrorLog logs/local-default-error_log
CustomLog logs/local-default-access_log common
SetHandler server-status
Order deny,allow
Deny from all
Allow from all
( currently allow from all, but have tried loads of other options ).
I've created an empty index.html on that location. When I try and test, I
get...
server# curl http://localhost.localdomain/server-status?auto
Internal Server Error
The server encountered an internal error or
misconfiguration and was unable to complete
your request.
Please contact the server administrator,
steve@firetrust.org and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.
More information about this error may be available
in the server error log.
Apache/2.0.59 (Unix) mod_ssl/2.0.59 OpenSSL/0.9.8b DAV/2 PHP/4.4.4 Server at localhost.localdomain Port 80
And in the log...
[Thu Aug 09 09:55:06 2007] [error] [client 127.0.0.1] mod_rewrite: maximum number of internal redirects reached. Assuming configuration error. Use 'RewriteOptions MaxRedirects' to increase the limit if neccessary.
There's plenty of other sites on this server that use redirection, but
this isn't one of them, and it's currently set up in the specific
..htaccess file, not the httpd conf file.
httpd -l shows mod-status.c compiled in.
Does anyone have a clue what I'm doing wrong? I've very little hair left!
Steve