Enabled Mod_Rewrite ใน Ubuntu


1. #sudo a2enmod rewrite
2. # sudo vim -b /etc/apache2/sites-avalible/000-default

3. Find the following

Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all

and change it to

Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order allow,deny
allow from all

4. and finally restart Apache

sudo /etc/init.d/apache2 restart

 

Ref : http://vassie.wordpress.com/2006/06/12/how-to-enable-mod_rewrite-on-dapper/ 

คำสำคัญ (Tags): #ubuntu#apache#cleanurl
หมายเลขบันทึก: 66991เขียนเมื่อ 13 ธันวาคม 2006 16:09 น. ()แก้ไขเมื่อ 18 มิถุนายน 2012 18:27 น. ()สัญญาอนุญาต: จำนวนที่อ่านจำนวนที่อ่าน:


ความเห็น (0)

ไม่มีความเห็น

พบปัญหาการใช้งานกรุณาแจ้ง LINE ID @gotoknow
ClassStart
ระบบจัดการการเรียนการสอนผ่านอินเทอร์เน็ต
ทั้งเว็บทั้งแอปใช้งานฟรี
ClassStart Books
โครงการหนังสือจากคลาสสตาร์ท