November 29, 2008

mod rewrite (.htaccess) for magento

just note :/


php_flag magic_quotes_gpc off
php_flag short_open_tag on


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

1 comment:

SOFT TECH USA said...

nice coding about magento.Magento eCommerce