RewriteRule Help
Heres what I'm doing.Trying to look for:
/1728.htm
Than rewrite it to
/newsroom.php?cid=1728
Here is my Code
RewriteEngine On
RewriteRule ^/(([0-9]+))\.htm /newsroom.php?cid=$1 [L]
The Rule matches perfectly, problem is the value is empty. $1
Heres a snip of the log.
[23/Nov/2004:23:10:10 -0500] [newsroom/sid#8218afc][rid#82a141c/initial] (2) init rewrite engine with requested uri /1728.htm
[23/Nov/2004:23:10:10 -0500] [newsroom/sid#8218afc][rid#82a141c/initial] (3) applying pattern '^/(([0-9]+))\.htm' to uri '/1728.htm'
[23/Nov/2004:23:10:10 -0500] [newsroom/sid#8218afc][rid#82a141c/initial] (2) rewrite /1728.htm -> /newsroom.php?cid=
[23/Nov/2004:23:10:10 -0500] [newsroom/sid#8218afc][rid#82a141c/initial] (3) split uri=/newsroom.php?cid= -> uri=/newsroom.php, args=cid=