我的.htaccess如下面,我需要example.com/updatetagsyncronize.html/1/2URL重写工作不正常
RewriteEngine On
RewriteBase/
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
example.com/updatetagsyncronize.html - 它的工作原理是这样
,我需要
example.com/updatetagsyncronize.html/1/2 - 有两个额外的参数
我发现如何简化,并与这里simplified htaccess
多个参数使用,但它不工作
RewriteRule ^([-\w]+)?/?([-\w]+)?/?([-\w]+)?/?$ index.php?q=$1&seg2=$2&seg3=$3
这是什么的意思和([(*) - \ w] +)我怎么能重写这个,结合第一,因为我使用cms modx,也许这就是为什么我面临错误。 任何建议或链接。谢谢!!!
http://www.rexegg.com/regex-quickstart.html – inarilo