running 4.2.2 on xp pro this is my conf directives <Location /server-status> SetHandler server-status Order deny,allow Deny from all Allow from 127.0.0.1 </Location> i get a 404 when trying to get status via localhost/server-status from my apache machine so first i need to fix that, any ideas? then to get server status from remote machine, across the net, i'm not sure what to put in the 'allow from' directive, the manual says a domain name, but what domain name, don't understand where a domain name is coming from as requests for the server status come into apache?
You need to add the line 'ExtendedStatus On' right above the Location line. Also verify that you have the status module enabled.
The domain or IP of the remote host making the request. For an example, if you wanted to allow blahblah.blah.aol.com to make server-status requests, add blahblah.blah.aol.com to the allow from. If the remote host has a dynamic IP, you can just define .blah.aol.com, however this will also grant access to anyone with a blah.aol.com hostname i.e. blahblah2.blah.aol.com and blahblah3.blah.aol.com. You can also use IP's and can add multiple hostnames/IP's to the allowed from directive. Hope that helps.
thanks for the replies, i just got it working by using 'allow from localhost' vs 127.0.0.1, which i thought was the same as localhost, so thats still a mystery i found you get more info when ExtendedStatus is set to on vs not there i'm still struggling with domain name in the allow from. i understand putting in the url which is very restrictive but i can understand why, but i still don't see how apache would know what the domain name is of the location/url where the browser request is launched from, i'm not aware that domain name is included somewhere in the http packets, i thought only the url address was there, so you can put in a list of domain names and/or url's??