Monitor Web Connections to an Apache Server

by John H
~1 minute

I run quite a few different servers and recently just launched an AWS Ec2 instance. Unfortunately the Ec2 started to hang and become unresponsive even though the server was online the sites running on the site were not being accurately served. I could see the server cpu and network graphs using Cloudwatch but I needed to see what servers were getting requested and what was happening. The Cloudwatch metrics just weren't as helpful as I needed. Running a few bash commands like top couldn't really tell me what was going on like I needed. I searched for information and luckily came upon a good solution: mod_status an Apache module that will give you all kinds of information about the traffic being served by your server.

Mod_Status

This awesome module will provide your server with html page that will display all kinds of information about the traffic and connections hitting your server.

References

Related Articles

Working and testing redirects for Apache

Working and testing out redirects for Apache To work on a testing local install of the site make...

John H John H
5 minutes

Blocking Access to a Url route in Apache

This serves a 403 forbidden for any route with blog. RewriteRule ^(.*/)?blog(.*/)?/ - [F,L]...

John H John H
~1 minute

Projects to Learn Java

As a programmer it is important to keep adding skill sets.  An easy way to do that is to pick up...

John H John H
2 minutes