这是我当前的 htaccess 脚本
RewriteEngine On
RewriteCond %{REQUEST_METHOD} ^TRACE
RewriteRule .* - [F]
RewriteBase /
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
RewriteRule ^home$ /index.php?hook=home [NC]
但是当我添加 $_GET 变量时出现问题,例如:
www.domain.com/home&showPoll=1
输出:
Not Found The requested URL /home&showPoll=1 was not found on this server.
有没有办法解决它?谢谢