Difference between revisions of "APACHE MOD STATUS PLESK"

From
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
Para consultar las conexiones en directo que se están realizando a apache se tiene que activar el apache monitor mod_status de apache.
 
Para consultar las conexiones en directo que se están realizando a apache se tiene que activar el apache monitor mod_status de apache.
  
editar /etc/httpd/conf/httpd.conf y añadir
+
editar <pre>/etc/httpd/conf/httpd.conf</pre> y añadir
  
 
<pre>
 
<pre>
Line 24: Line 24:
 
yum update links
 
yum update links
  
links -dump http://localhost:8001/server-status<pre>
+
links -dump http://localhost:8001/server-status</pre>

Latest revision as of 10:42, 21 December 2017

Para consultar las conexiones en directo que se están realizando a apache se tiene que activar el apache monitor mod_status de apache.

editar
/etc/httpd/conf/httpd.conf
y añadir
<IfModule mod_status.c>
Listen 8001
<Location /server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from 127.0.0.1 ::1
</Location>
ExtendedStatus On
</IfModule>


Aplicamos cambio reiniciando apache, instalamos links y ya podemos consultar.

systemctl restart httpd

yum update links

links -dump http://localhost:8001/server-status