Php 修改问题

Php 修改问题,php,apache,mod-rewrite,Php,Apache,Mod Rewrite,我有以下规则: RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !=/favicon.ico RewriteRule ^(.*)$ index.php?q=$1 [L,QSA] 我的网址如下: http://www.mydomain.com/189-9544737-0616922?%5Fencoding=UTF8&node=10 关于

我有以下规则:

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !=/favicon.ico 
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
我的网址如下:

http://www.mydomain.com/189-9544737-0616922?%5Fencoding=UTF8&node=10
关于myphp.php

var_dump($_GET): array(3) { 
  ["q"]=>  string(19) "185-8676848-3133633" 
  ["_encoding"]=>  string(4) "UTF8" 
  ["node"]=>  string(2) "10" } 
有什么想法吗


关于,请尝试添加一个
B
修饰符:

Apache必须先卸载url 映射它们,以便反向引用 在他们离开的时候不被替换 应用。使用B标志, 中的非字母数字字符 反向引用将被转义


“有什么想法吗?”-您可能想先告诉我们您的期望。您希望在PHP方面看到什么?整个URL和查询字符串是否在单个变量中?
RewriteRule ^(.*)$ index.php?q=$1 [B,L,QSA]