开发者

rewrite rule with 3 parameters

How do i use rewrite rule with 3 parameter开发者_开发百科es? like:

RewriteRule example/$/$/$ example.php?x=$1&y=$2&z=$3

thank you


Ok ;

i found the answer :

RewriteRule ex/([^/]+)/([^/]+)/([^/]+) ex.php?x=$1&y=$2&z=$3 [L]
RewriteRule ex/([^/]+)/([^/]+) ex.php?x=$1&y=$2 [L]
RewriteRule ex/([^/]+) ex.php?x=$1 [L]

thanks to Tim Cooper for editing help.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜