การเปิด Apache Extended Status

ท่านสามารถเปิดการทำงานของ Apache Extended Status เพื่อดูสถานะการทำงานของ Apache ได้โดยการ SSH เข้าไปยังเซิฟเวอร์ และทำการแก้ไขไฟล์ดังต่อไปนี้

nano /etc/httpd/conf/extra/httpd-info.conf

จากนั้นแก้ไขข้อความตรงที่เป็นสีชมพู

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

ExtendedStatus On

ตรงข้อความ server-status ควรเปลี่ยนเป็นคำหรือวลี ซึ่งยากแก่การคาดเดา เพื่อมิให้ผู้อื่นสามารถเปิดดู Extended Status ของท่านได้

การเรียกดู Extended Status สามารถทำได้โดย http://ip/server-status

  • 3 Users Found This Useful
Was this answer helpful?

Related Articles

วิธีติดตั้ง MRTG CentOS 6.4 กับ Directadmin

yum -y remove net-snmp net-snmp-utils mrtg rm -rf /var/www/mrtg rm -rf /etc/snmp rm -rf...

การ Compile PHP (DirectAdmin Custombuild)

หากท่านพบปัญหาในการใช้งาน หรือต้องการอัพเดต Apache เวอร์ชั่นใหม่สามารถ SSH เข้าเซิฟเวอร์ของท่าน...

รวบรวมคำสั่งที่จำเป็นสำหรับ Admin ใน CentOS

รวบรวมคำสั่งที่จำเป็นสำหรับ Admin ใน CentOSคำสั่ง ls : : : แสดงรายชื่อแฟ้มในห้องปัจจุบัน...

การเปิด Slow Query log MySQL Server

การเปิด Slow Query log MySQL Server# nano /etc/my.cnf...

Open port Iptables Firewall on CentOS 6

Open port Iptables Firewall on CentOS 6 What ports do I need to open in my firewall?...