1 / 9

How To Enable Apache Server Status Dashboard Page

Apache server status dashboard tracks key server metrics for server health. Here is how to enable Apache server status dashboard page.<br>#apache #webdevelopment <br><br>Visit https://ubiq.co/tech-blog/how-to-enable-apache-server-status-dashboard-page/

Download Presentation

How To Enable Apache Server Status Dashboard Page

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. How To Enable Apache Server Status Dashboard Page

  2. Enable mod_status Apache configuration file is located at one of the following locations, depending on your Linux distribution. /etc/apache2/httpd.conf, /etc/apache2/apache2.conf, /etc/httpd/httpd.conf, /etc/httpd/conf/httpd.conf Open terminal and run the following command to open Apache configuration page. $ sudo vi /etc/httpd/conf/httpd.conf Look for the following line #LoadModule status_module modules/mod_status.so Uncomment it by removing # at its beginning.

  3. Configure mod_status Look for the following block of code or search for location #<location server-status=""> # SetHandler server-status # Order deny,allow # Deny from all # Allow from .example.com #</location> Uncomment the location block by removing # in front of its lines, and update the Allow, Order and Deny directives as shown below.

  4. Configure mod_status <Location /server-status> SetHandler server-status Order allow,deny Deny from all Allow from all </Location>

  5. Configure mod_status Also, this configuration will not work for Virtual Hosts. If you have configurated Virtual Hosts, then you need to place this location block inside the VirtualHost block, as shown below. <VirtualHost *:80> … <Location /server-status> … </Location> … </VirtualHost>

  6. Enable Extended Status You can optionally enable extended status to track more metrics such as CPU Usage, Requests per second, total traffic, etc. by looking for the following line # ExtendedStatus On and uncommenting it by removing # in front of it. ExtendedStatus On

  7. Restart Apache Web Server Restart Apache web server to apply changes. # service httpd restart OR # systemctl restart httpd OR # sudo service apache2 restart

  8. Verify Server Status Open web browser and visit /server-status page of your domain. If your domain is www.example.com, go to http://www.example.com/server-status

  9. Thank You Visit for details https://ubiq.co/tech-blog/how-to-enable-apache-server-status-dashboard-page/

More Related