Mod_rewrite on haven

Mod_rewrite on haven

Posted by: linuxmyst
Posted on: 2006-03-09 01:27:00

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.

Edited by linuxmyst on 03/09/06 02:14 AM (server time).

Tags: php 5htaccessmodcgiindex