การเปิด 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

Open port Iptables Firewall on CentOS 6

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

Changing the maximum upload size in php.ini

Error text: file_name" has failed to upload due to an error - This file exceeds the maximum...

การติดตั้ง Clam Anti Virus (ClamAV) บน DirectAdmin / CentOS

เปิด ssh rootcd /usr/local/directadmin/custombuild./build update./build set clamav yes./build...

คำสั่ง Command Line เบื้องต้น ( Linux )

คำสั่ง Command Line เบื้องต้น ( Linux )  lsเป็นคำสั่งที่ใช้สำหรับแสดงแฟ้มข้อมูล (เช่นเดียวกับ...

วิธีติดตั้ง 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...