0
在htaccess文件我有一行:htaccess - 如何允许mod-rewrite中的负数?
RewriteRule ^something,([0-9]+)\.html$ something.php?num=$1 [L]
如果我打开网页的任何数字,如something,7.html
然后一切都运行完美,但我怎么能更改重写规则,如果我想用一个负数,以及用于示例something,-2.html
。我也不想允许使用字母。
你为什么要逃离几许? –