Mengaktifkan Apache Status (Monitoring Web Server Apache)
by servindo
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
Recommended Posts
Membuat Backup Automatis Database menggunakan Cronjob
November 22, 2017
Konfigurasi Master dan Slave DNS di CentOS
November 22, 2017
Full Backup Databases dan Restore Melalui Command Line
November 21, 2017