Jl. Projosumarto II Kab. Tegal
Jawa Tengah, Kode Pos 52193
0812-1788-7688
[email protected]
[email protected]

Mengaktifkan Apache Status (Monitoring Web Server Apache)

Fungsi dari Apache Status akan menampilkan server uptime (service apache yg uptime), Total accesses, Total Traffic, CPU Usage, CPU load, dan active connection secara realtime.

Disini saya menggunakan apache di CentOS, caranya yaitu dengan mengedit file /etc/httpd/conf/httpd.conf

[email protected]:#vim /etc/httpd/conf/httpd.conf

Pada baris ke 228, di-uncomment, sehingga menjadi:

ExtendedStatus On

Kemudian pada baris ke 921, di-uncomment. sehingga menjadi:

<Location /server-status>
SetHandler server-status
Order deny,allow
Allow from all
# Allow from .example.com
</Location>

Kemudian, restart httpd nya:

[email protected]:# systemctl restart httpd.service

Untuk mengakses, buka dibrowser http://localhost/server-status