GFW變廢為寶篇,高實在是高 - China Android Dev | Google Groups
GFW變廢為寶篇,高實在是高
From: Carray Lee <carray...@gmail.com>
Date: Fri, 24 Dec 2010 17:38:15 +0800
Local: Fri, Dec 24 2010 5:38 pm
Subject: GFW變廢為寶篇,高實在是高
How to use GFW to stop DDoS attacks from China
It’s a easy way to protect your website.
But it will block any request from China.
So please remove it after the attack.
<?php
if(strpos($_SERVER['REQUEST_URI'],'minghui') === false) {
header('Location:'. $_SERVER['REQUEST_URI'] . '?minghui');
exit;
}
?> If you are in China, you can visit http://vii.im/gfw-test.php to test.
posted on 2011-01-07 19:29 梁良 閱讀(318) 評論(0) 編輯 收藏 所屬分類: 一滴一滴