这是我到目前为止所得到的:
RewriteEngine on RewriteCond %{REQUEST_FILENAME} !index.php RewriteRule .* index.php?url=$0 [L]
但是,当我去soemthing像/a?b=c,然后检查GET参数,可以我只得到a了url,并且b丢失.我该如何保留?
/a?b=c
a
url
b
apache mod-rewrite
apache ×1
mod-rewrite ×1