标签: .htaccess mod-rewrite
我有两条规则:
RewriteRule ^segment/([^/]+)/([^/]+)/?$ segment.php?id=$1&project=$2 [L,QSA,NC] RewriteRule ^segment/([^/]+)/([^/]+)/?$ segment.php?id=$1&sub=$2 [L,QSA,NC]
但似乎它们的解释方式相同。您可以在规则中识别查询字符串吗?