Httpd mod status: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 6: Line 6:


* [[httpd Operations]]
* [[httpd Operations]]
=Overview=
mod_status renders a page with information about the server:
* number of workers serving requests and idle.
* status of each worker.
If [[httpd ExtendedStatus|ExtendedStatus]] is on, the server maintains and displays extended status information for each request.


=Installation=
=Installation=


=Configuration=
Make sure mod_status was either compiled in the binary (mod_status.c should be in the output of <tt>httpd -l</tt>), or loaded as a dynamic module.
 
=Usage=


==Load Balancing Management and Status==
<pre>
<Location "/status">
    SetHandler server-status
</Location>


<font color=red>
ExtendedStatus On
</pre>


mod_proxy_balancer enables dynamic update of balancer members. You can use balancer manager to change the balance factor of a particular member, or put it in the off line mode.
If the server acts as a proxy and various URLs are being proxied, insure "/status" is not:


TODO: https://httpd.apache.org/docs/current/mod/mod_proxy_balancer.html#balancer_manager
<pre>
ProxyPass /status !
</pre>


</font>
More details [[httpd Location|Location]], [[httpd SetHandler|SetHandler]].


For more details on load balancing, see:
=Related=


<blockquote style="background-color: #f9f9f9; border: solid thin lightgrey;">
* [[Httpd balancer-manager|balancer-manager]]
:[[Httpd_mod_proxy_Concepts#Load_Balancing|mod_proxy Concepts - Load Balancing]]
</blockquote>

Latest revision as of 17:18, 10 January 2017

External

Internal

Overview

mod_status renders a page with information about the server:

  • number of workers serving requests and idle.
  • status of each worker.

If ExtendedStatus is on, the server maintains and displays extended status information for each request.

Installation

Make sure mod_status was either compiled in the binary (mod_status.c should be in the output of httpd -l), or loaded as a dynamic module.

<Location "/status">
    SetHandler server-status
</Location>

ExtendedStatus On

If the server acts as a proxy and various URLs are being proxied, insure "/status" is not:

ProxyPass /status !

More details Location, SetHandler.

Related