0

如何使用 ISAPI Rewrite 在查询字符串中阻止带有某些关键字的请求。

即洛丽塔,模特,女孩等......

Query_String 示例:

pid=12263&pid=12263&sourcingName=Qxcfljaw&sourcingEmail=thebest%40hotmail.com&sourcingPhone=76513817313&sourcingQty=87&sourcingComments=What's+the+last+date+I+can+post+this+to+to+arrive+in+time+for+Christmas%3F +http%3A%2F%2Flsmagazinexl.kazeo.com+lolita+model+dads+girl++Wonder+what+was+wrong+with+the+original+sounds+so+they+had+to+replace+them+有+这些+显然+和+荒谬+假+一个。%0A+

4

1 回答 1

0

能够做到这一点。

重写条件 %{QUERY_STRING} 。(?:nude|lolita|porn|viagra|cialis|naked|preteen)。[NC] 重写规则 .* - [F]

于 2013-04-03T18:21:58.033 回答