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.
精彩评论