Pak Jiddat

Read: In the name of thy Lord Who createth, Createth man from a clot. Read: And thy Lord is the Most Bounteous, Who teacheth by the pen, Teacheth man that which he knew not. Nay, but verily man is rebellious That he thinketh himself independent!. Lo! unto thy Lord is the return. (Sura Alalaq 96:8)

Configuring Apache mod status

Created On: 22 Nov, 2017: 19:13:33 - Tags : web servers


Apache Mod Status is an Apache module that provides useful information about the requests being sent to Apache.

It provides information such as the PID of Apache processes, the number of active and idle threads in each process, the thread id and request handled for each thread

Apache mod_status is available by default in most Apache servers installations. To enable mod_status, we need to enable the mod_status Apache module. We then need to enable the mod_status handle within a location directive. This directive can be placed within a virtual host block. For example:

SetHandler server-status

Order Deny,Allow
Deny from all
Allow from

This will allow the Apache status information to be accessed on the url: http://localhost/server-status. If we add refresh=N to the url, then the status page will refresh every N seconds. For example: http://localhost/server-status?refresh=5. The ExtendedStatus Apache directive allows extra information to be displayed with mod_status. This directive is used side wide and cannot be applied on a virtual host basis. It can slow down the server, so it should only be used if needed

Related Articles

  1. PrivateTmp systemd option prevents access to tmp folder
  2. Generating free SSL certificate from LetsEncrypt on localhost
  3. INADEQUATE_SECURITY - SSL Cipher problems with HTTP2
  4. Preventing browsers from caching content
  5. Making HTTP POST requests from Google Chrome
  6. Increasing web server timeout
  7. Redirect http to https with Apache
  8. Creating and Installing Apache Self Signed Certificate
  9. Using flags with rewrite rule
  10. Redirecting without mod_rewrite using regular expressions in htaccess
  11. Generate Certificate Signing Request (CSR) for ssl certificates
  12. Disabling output buffering with mod_fcgid
  13. Allowing Cross Origin Requests using htaccess
  14. Redirect http to https with Nginx
  15. Blocking visitors by http method using LimitExcept Apache directive
  16. Access control directives for Apache
  17. Passing query parameters to proxy server in Nginx
  18. Use of Preflight request in HTTP Cross Origin Resourse Sharing (CORS)
  19. Using RewriteCond directives