Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
This comment has been deleted
What fixes this issue is a mix of settings. At least for myself, and my server.
First in your apache virtualhost configuration you need to change allow overides
<Directory Some/directory/here > # Options Indexes Options -FollowSymLinks Options -Multiviews Options -Indexes AllowOverride None </Directory>
Then before the closing virtualhosts command you place this
<Location /server-status> SetHandler server-status # Require local Require ip YOUR IP here/Server IP </Location> </VirtualHost>
Then IF you have the defualt apache2 config modified to your liking with other settings. Like a custom Wordpress installation. You should have this as well for .HTACCESS
The important line is this RewriteCond %{REQUEST_URI} !=/server-status
.HTACCESS file settings
<IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !=/server-status RewriteRule . /index.php [L] </IfModule> php_flag register_globals off
php_flag display_errors Off #Options FollowSymLinks Options -Indexes Options -ExecCGI Options -IncludesNOEXEC
Hope my post solves some other issues,
Thanks for the reply. Adding this rewrite rule only makes it so www.mydomain.com/server-status is a “Forbidden” error instead of a 404.
This is what my /etc/apache2/mods-available/status.conf file says (I had already edited it):
<Location /server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from 127.0.0.1 ::1
Allow from <my public IP>
</Location>
I am trying to access it form the local host but I am still getting this forbidden error. Any other ideas?
Thanks.