I'm getting Forbidden error when trying to access www.website.com/server-status
mod_status is enabled
The VirtualHost:
<VirtualHost *:8080> ServerName website.com ServerAlias www.website.com DocumentRoot /var/www/wordpress/ DirectoryIndex index.php <Directory /var/www/wordpress/> AllowOverride All Order Deny,Allow Allow from all Options +Indexes </Directory> <Location /server-status> SetHandler server-status Order deny,allow Deny from all Allow from .website.com </Location> ErrorLog /var/www/wordpress/logs/error.log CustomLog /var/www/wordpress/logs/access.log combined </VirtualHost> I've tried to change Allow from .website.com to the website IP and same issue occurs. When I try to change it to Allow from all I get a 404.
Another try I've made was setting allow from 127.0.0.1 and accessing via lynx from within the server, same issue pretty much.
Here is the error received in the error.log:
[error] [client 127.0.0.1] client denied by server configuration: /var/www/wordpress/server-status Furthermore, I've disabled status.conf location override to make sure the only server-status definition will be in the VirtualHost. Setting the server-status location in apache.conf provide with same results.
Any idea what am I missing?
I've tried assisting the following resources which none provided me with a solution:
Thanks