mod rewrite (.htaccess) for magento


just note :/


<IfModule mod_php5.c>
     php_flag magic_quotes_gpc off
     php_flag short_open_tag on
</IfModule>

Action php5-cgi /cgi-bin/php5-cgi
AddHandler application/x-httpd-php5 php

DirectoryIndex index.php

RewriteEngine on

#RewriteBase /

RewriteCond %{REQUEST_URI} !^/media/
RewriteCond %{REQUEST_URI} !^/skin/
RewriteCond %{REQUEST_URI} !^/js/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l

RewriteRule .* index.php

Links
MediaTemple Magento Installation Guide - Dedicated-Virtual Server

คำสำคัญ (Tags): #magento#mod_rewrite#seo
หมายเลขบันทึก: 172868เขียนเมื่อ 25 มีนาคม 2008 10:47 น. ()แก้ไขเมื่อ 4 มิถุนายน 2012 14:15 น. ()สัญญาอนุญาต: จำนวนที่อ่านจำนวนที่อ่าน:


ความเห็น (0)

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

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