Difference between revisions of "APACHE MOD STATUS PLESK"
| Line 3: | Line 3: | ||
editar /etc/httpd/conf/httpd.conf y añadir | editar /etc/httpd/conf/httpd.conf y añadir | ||
| + | <pre> | ||
<IfModule mod_status.c> | <IfModule mod_status.c> | ||
Listen 8001 | Listen 8001 | ||
| Line 13: | Line 14: | ||
ExtendedStatus On | ExtendedStatus On | ||
</IfModule> | </IfModule> | ||
| + | </pre> | ||
| − | Aplicamos cambio reiniciando apache | + | Aplicamos cambio reiniciando apache, instalamos links y ya podemos consultar. |
| − | systemctl restart httpd | + | <pre>systemctl restart httpd |
yum update links | yum update links | ||
| − | links -dump http://localhost:8001/server-status | + | links -dump http://localhost:8001/server-status<pre> |
Revision as of 10:41, 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<pre>