We had a client who noticed the 404 errors when the server tries to access server-status as the result of a call for Apache's status. When we checked /etc/init.d/httpd the status line is defined as:
STATUSURL="http://localhost/server-status"
Which doesn't exist and 404s. By changing it to:
STATUSURL="http://localhost/whm-server-status"
We can now retrieve apache information with:
service httpd status
or
service httpd fullstatus
This is mainly posted as an informative thread, but I was curious if this was intentionally written this way by cPanel or if this is something that should be changed? Chirpy?
STATUSURL="http://localhost/server-status"
Which doesn't exist and 404s. By changing it to:
STATUSURL="http://localhost/whm-server-status"
We can now retrieve apache information with:
service httpd status
or
service httpd fullstatus
This is mainly posted as an informative thread, but I was curious if this was intentionally written this way by cPanel or if this is something that should be changed? Chirpy?