|
楼主 |
发表于 2013-12-26 11:40:14
|
显示全部楼层
来自 中国北京
飘鸣 发表于 2013-12-25 00:00
RewriteEngine on
RewriteCond %{HTTP_REFERER} ^http(s)?://(.)+\.a\.com [NC]
RewriteCond %{HTTP_REFE ...
再请教啊, ,如果有两个以上的网站要防盗,测试就不管用了。如果我有五个网站或者更多的网站要屏蔽,怎么写啊。。我这样写行吗?- RewriteCond %{HTTP_REFERER} ^http(s)?://(.+\.)?aaaa\.com [NC,OR]
- RewriteCond %{HTTP_REFERER} ^http(s)?://(.+\.)?bbbb\.com [NC,OR]
- RewriteCond %{HTTP_REFERER} ^http(s)?://(.+\.)?cccc\.com [NC,OR]
- RewriteCond %{HTTP_REFERER} ^http(s)?://(.+\.)?dddd\.com [NC,OR]
- RewriteCond %{HTTP_REFERER} ^http(s)?://(.+\.)?eeee\.com [NC,OR]
- RewriteCond %{HTTP_REFERER} ^http(s)?://(.+\.)?ffff\.com [NC,OR]
- RewriteCond %{HTTP_REFERER} ^http(s)?://(.+\.)?gggg\.com [NC,OR]
- RewriteCond %{HTTP_REFERER} ^http(s)?://(.+\.)?hhhh\.com [NC]
复制代码 |
|