Enable Server Status using Plesk 11
Posted
by
Lars Ebert
on Server Fault
See other posts from Server Fault
or by Lars Ebert
Published on 2013-11-05T14:55:35Z
Indexed on
2013/11/05
15:57 UTC
Read the original article
Hit count: 347
I am trying to get apaches server status to work with Plesk 11. But running sudo /usr/sbin/apache2ctl fullstatus
results in:
Forbidden
You don't have permission to access /server-status on this server.
__________________________________________________________________
Apache Server at localhost Port 80
'www-browser -dump http://localhost:80/server-status' failed.
Maybe you need to install a package providing www-browser or you
need to adjust the APACHE_LYNX variable in /etc/apache2/envvars
How can I enable server status?
So far I have tried to insert
<Location /server-status>
SetHandler server-status
Order Deny,Allow
Deny from all
Allow from localhost
</Location>
into the httpd.conf, but I am not sure if it is active. I also tried adding it to /var/www/vhosts/somedomain/conf/vhost.conf but I do not know which domain I have to add this to, as fullstatus seems to query localhost directly. I guess I am a little confused by the use of vhost configuration in Plesk.
© Server Fault or respective owner