Difference between revisions of "APACHE MOD STATUS PLESK"
(Created page with "Para consultar las conexiones en directo que se están realizando a apache se tiene que activar el apache monitor mod_status de apache. yum update links links -dump http:/...") |
|||
| 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 | ||
| + | <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 | ||
| + | systemctl restart httpd | ||
| − | + | yum update links | |
| − | |||
| − | + | links -dump http://localhost:8001/server-status | |
Revision as of 10:36, 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
systemctl restart httpd
yum update links
links -dump http://localhost:8001/server-status