Hi All,
I tried enabling server-status on this one server. I used the same
server-status definition that we normally do around here. It usually works.
But this time it isn't.
What happens is that when I do a GET on server-status and the IP, it
results in a file not found error.
[root at 224432-27 apache2]# GET http://$(hostname -i)/server-status
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /server-status was not found on this
server.</p>
</body></html>
Yet in the main apache httpd.conf file I have the following:
ExtendedStatus On
#Mod_status config
<Location /server-status>
SetHandler server-status
Order allow,deny
Allow from all
</Location>
I'm planning on tightening this up with allowing only from certain IPs once
I get this working.
But does anyone have any idea why this could be failing?
Thanks
Tim
--
GPG me!!
gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
working for me. Did you restart httpd ? On Tue, Nov 4, 2014 at 11:06 AM, Tim Dunphy <bluethundr at gmail.com> wrote:> Hi All, > > I tried enabling server-status on this one server. I used the same > server-status definition that we normally do around here. It usually works. > But this time it isn't. > > What happens is that when I do a GET on server-status and the IP, it > results in a file not found error. > > > [root at 224432-27 apache2]# GET http://$(hostname -i)/server-status > <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> > <html><head> > <title>404 Not Found</title> > </head><body> > <h1>Not Found</h1> > <p>The requested URL /server-status was not found on this server.</p> > </body></html> > > Yet in the main apache httpd.conf file I have the following: > > ExtendedStatus On > > #Mod_status config > <Location /server-status> > SetHandler server-status > Order allow,deny > Allow from all > </Location> > > > I'm planning on tightening this up with allowing only from certain IPs once > I get this working. > > But does anyone have any idea why this could be failing? > > Thanks > Tim > > -- > GPG me!! > > gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >
Without additional information, my immediate guess would be a virtualhost conflict. On Tue, Nov 4, 2014 at 11:06 AM, Tim Dunphy <bluethundr at gmail.com> wrote:> Hi All, > > I tried enabling server-status on this one server. I used the same > server-status definition that we normally do around here. It usually works. > But this time it isn't. > > What happens is that when I do a GET on server-status and the IP, it > results in a file not found error. > > > [root at 224432-27 apache2]# GET http://$(hostname -i)/server-status > <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> > <html><head> > <title>404 Not Found</title> > </head><body> > <h1>Not Found</h1> > <p>The requested URL /server-status was not found on this server.</p> > </body></html> > > Yet in the main apache httpd.conf file I have the following: > > ExtendedStatus On > > #Mod_status config > <Location /server-status> > SetHandler server-status > Order allow,deny > Allow from all > </Location> > > > I'm planning on tightening this up with allowing only from certain IPs once > I get this working. > > But does anyone have any idea why this could be failing? > > Thanks > Tim > > -- > GPG me!! > > gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >