我正面临xx问题,我正在使用ISAPI Rewite 3。我想检测一个查询字符串是否包含…或者重定向到我的主页
尝试使用以下结构:
RewriteEngine on
RewriteBase /
RewriteCond %{QUERY_STRING} ^(.*iframe.*)$
RewriteRule .* http://www.domain.com [NC,R=301,L]