Answered by the Webhosting Experts
Tags +

Hivelocity
Dedicated Servers

Bare Metal Computing
Tired of overpaying for outdated hardware or nonexistent technical support?

Click now and chat with our highly skilled account managers. Learn about Hivelocity's latest server deals or browse our bare metal servers by clicking the link below.

See the Hivelocity difference today!

Tags +
Tags
...
...
160x600_hivelocity_dec20

How can you have a page which would show you apache status?

You can also  check and monitor Apache server’s current status on the web page without using

log files. Modify httpd.conf file and add the following code into it:

ExtendedStatus On
<Location /server-status>
SetHandler server-status
Deny from all
Order deny,allow
Allow from localhost 192.168,1,56
Allow from .anotherdomain.com
</Location>

 

Restart apache service:

/etc/init.d/apache2 restart

You will see following parameters in the browser window:-

current date and time CPU usage, total uptime, total access made to web server and total traffic. In the same browser page you could able to see PID, scoreboard which tells you about closing connections, logging connections, client’s IP address,load status, VHost name and the request made for particular pages link.

Now you need to enter following URL in the browser from valid IP address mentioned in the above

code i.e. 192.168.1.56 or from localhost or from browser from anotherdomain.com:

https://your-apache-configured-web-se…/server-status

This will give you all the details having apache sever status in the browser window.

If you don’t want to specify domain name in the above code then you can make a comment in front

of it by doing:

# Allow from .anotherdomain.com

You can also use following command to get the apache server status automatically after few seconds:

https://your-apache-configured-web-se…atus?refresh=N

where N is a number of seconds to refresh the status web page.

Share

Facebook
Twitter
LinkedIn
Email
WhatsApp

Need More Personalized Help?

If you have any further issues, questions, or would like some assistance checking on this or anything else, please reach out to us from your my.hivelocity.net account and provide your server credentials within the encrypted field for the best possible security and support.

If you are unable to reach your my.hivelocity.net account or if you are on the go, please reach out from your valid my.hivelocity.net account email to us here at: support@hivelocity.net. We are also available to you through our phone and live chat system 24/7/365.

Watch our servers in their natural habitat

Click here to see more live streams or take a tour of our facilities.

Hivelocity
Dedicated Servers

Bare Metal Computing
Tired of overpaying for outdated hardware or nonexistent technical support?

Click now and chat with our highly skilled account managers. Learn about Hivelocity's latest server deals or browse our bare metal servers by clicking the link below.

See the Hivelocity difference today!