求一个apache 拟静态正则?

请教论坛里面的各位高手,我想把test.html?id=34343&cid=sdafaf 这样一个url映射到test.php?id=34343&cid=sdafaf上请问这样的规则怎么来写呢?

请给个重写规则行不?

[code]
RewriteRule ^test.html$ test.php
[/code]
这个更简单的 :D

[code]
RewriteEngine On
RewriteRule ^test.html?id=(.+)&cid=(.+)$ test.php?id=$1&cid=$2
[/code]

[code]
RewriteEngine On

RewriteRule ^test.html?id=(.+)&cid=(.+)$ test.php?id=$1&cid=$2
[/code]
将.号转义下