Mod_rewrite on haven


#1

Hi, I have enabled php 5 cgi on my account. I’ve placed .htaccess in one of subdirectories that contains:
#--------------
RewriteEngine On
RewriteBase /en
RewriteRule ^(\w )/?(\w )?$ index.php?category=$1&subcategory=$2 [L]
#--------------
As you see it’s a very simple rewrite rule, but when I access www.mydomain.com/en/home or www.mydomain.com/en/home/location a 404 error code displays.