30 มิ.ย. 2557

เสริมความปลอดภัย apache บน ubuntu12.04

1.ยกเลิกการแสดงไฟล์ในไดเร็กทอรีที่ไม่มีอินเด็กซ์ไฟล์
#nano /etc/apache2/sites-available/default
ลบคำว่า Indexes ออกจาก Options Indexes FollowSymLinks
#/etc/init.d/apache2 restart
2. ซ่อนการแสดงเวอร์ชั่นของ Apache และ OS จากหน้า Error
#nano /etc/apache2/conf.d/security
แก้ตามนี้
ServerSignature Off
ServerTokens Prod
#/etc/init.d/apache2 restart

ไม่มีความคิดเห็น:

แสดงความคิดเห็น