Trying to add the code to the my main domain did not work, instead of Require host I did use Require IP, that of my pc. Location "/server-status"> SetHandler server-status Require ip xxx.xxx.xxx.xxx </Location>
Reading some forum I found out the the .htaccess was causing the issue as it had a worpress app I installed.
So just added this line to the .htaccess fixed it RewriteCond %{REQUEST_URI} !=/server-status
The 2 rules REQUEST_FILENAME capture any directory or file request that do not have a corresponding real file or directory (symbolic links might count) and map/alias them to index.php, your rule added an exception to this mechanism.
I am guessing the site is either Joomla or WordPress.
Yeah it wordpress, I think it just directs the /server-status request correctly otherwise I get the wordpess 404. If there is no .htaccess I think it should work ok. Yet to test though.
The wordpress htaccess captures all traffic not directed at a real file or directory so it can then serve all its articles and such like but it also allows real assets to be accessed directly.
No idea, like I said without that line I get a 404. I found it in another forum when they where trying to do the same thing. There nothing actually (so wordpress 404’s it i guess) at /server-status, its generated by apache somehow.