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:/...") |
|||
| (3 intermediate revisions 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 <pre>/etc/httpd/conf/httpd.conf</pre> y añadir | ||
| + | <pre> | ||
| + | <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> | ||
| + | </pre> | ||
| − | |||
| − | |||
| + | Aplicamos cambio reiniciando apache, instalamos links y ya podemos consultar. | ||
| + | <pre>systemctl restart httpd | ||
| − | + | yum update links | |
| − | |||
| − | + | 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.confy 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