COLO.in.th > คลังความรู้ > Website > How to enable .htaccess for Apache HTTP server


How to enable .htaccess for Apache HTTP server




วิธีการเปิด .htaccess สำหรับ Apache



แก้ไขไฟล์ Config ที่ /etc/httpd/config/httpd.conf


ดูในส่วนของ <Directory></Directory>

ตัวอย่างการแก้ไข
<Directory /var/www/html>
        Options Indexes FollowSymLinks
        AllowOverride All
        Require all granted
</Directory>

เมื่อแก้ไขเสร็จแล้ว ให้ดำเนินการ Restart Service

service httpd restart


บทความนี้มีประโยชน์กับคุณหรือไม่ ?

บันทึกสู่รายการโปรดของฉัน บันทึกสู่รายการโปรดของฉัน    พิมพ์หัวข้อนี้ พิมพ์หัวข้อนี้

Also Read
ว่าด้วยเรื่อง DNS(Domain Name System) (ดูรายละเอียด: 1699)

Powered by WHMCompleteSolution

ภาษา: