Apache /server-status

HI,

Where is the script for /server-status handler located? Can i change code of the script somehow?

Thank you all

In Apache/bin you will find apachectl:

usage: apachectl(start|stop|restart|fullstatus|status|graceful|configtest|help)

start - start httpd
startssl - start httpd with SSL enabled
stop - stop httpd
restart - restart httpd if running by sending a SIGHUP or start if
not running
fullstatus - dump a full status screen; requires lynx and mod_status enabled
status - dump a short status screen; requires lynx and mod_status enabled
graceful - do a graceful restart by sending a SIGUSR1 or start if not running
configtest - do a configuration syntax test
help - this screen

Isn't the actual program located in mod_status.so? So you would have to download the apache source, modify it and recompile.

I may have missed something - if we're referring to the apachectl program, it's simply a script. Edit away, but be careful not to change anything too much on a production system.