## [RESOLVED] mod_rewirte issue

In my htaccess I have 3 rewrite rules. The bellow rewrite rule fails where the other rules work. In addition the rule pointing to products.php coming from categories simply forwards me to the rewritten url. The simplest rewrite the this that rewrite works perfectly.

I figure I have done something simple and do not release the mistake.

Failing rewrite rule(does not match)
Code:
`RewriteRule ^products/([a-z0-9]+).htm\$ /product.php?act=viewproduct&id=\$1`

Full .htaccess(lines 3,4 work. line 4 works perfectly. line 3 forwards to rewritten url.):
Code:
```RewriteEngine on
RewriteRule ^products/([a-z0-9]+).htm\$ /product.php?act=viewproduct&id=\$1
RewriteRule ^categories/([a-z0-9]+).htm\$ /product.php?act=view&cate=\$1
RewriteRule ^this.htm\$ /that.htm```
products.php:
PHP Code:
``` <?php \$act = \$_GET['act']; \$cate = \$_GET['cate']; \$proid = \$_GET['id']; if(\$act == "view"){   echo "This is /category/\$cate.htm"; } elseif (\$act == "viewproduct"){   echo "This is /products/\$id.htm"; } ?> ```
Thanks
Nick