Home | 简体中文 | 繁体中文 | 杂文 | 打赏(Donations) | ITEYE 博客 | OSChina 博客 | Facebook | Linkedin | 知乎专栏 | Search | About

40.3. Web page proxy

40.3.1. Surrogafier

homepage: http://bcable.net/project.php?surrogafier

Surrogafier,安装最简便。只需要下载一个PHP文件,上传到网站的某个目录,然后从浏览器里访问这个PHP脚本,就有了代理页面。

基本配置

		
# Default to simple mode when the page is loaded. [false]
define('DEFAULT_SIMPLE',true);
# Force the page to always be in simple mode (no advanced mode option). [false]
define('FORCE_SIMPLE',false);
# Width for the URL box when in simple mode (CSS "width" attribute). [300px]
define('SIMPLE_MODE_URLWIDTH','300px');

# Default value for tunnel server. []
define('DEFAULT_TUNNEL_PIP','');
# Default value for tunnel port. []
define('DEFAULT_TUNNEL_PPORT','');
# Should the tunnel fields be displayed? "false" value here will force the defaults above [true]
define('FORCE_DEFAULT_TUNNEL',true);

# Default value for "Persistent URL" checkbox [true]
define('DEFAULT_URL_FORM',true);
# Default value for "Remove Cookies" checkbox [false]
define('DEFAULT_REMOVE_COOKIES',false);
# Default value for "Remove Referer Field" checkbox [false]
define('DEFAULT_REMOVE_REFERER',false);
# Default value for "Remove Scripts" checkbox [false]
define('DEFAULT_REMOVE_SCRIPTS',false);
# Default value for "Remove Objects" checkbox [false]
define('DEFAULT_REMOVE_OBJECTS',false);
# Default value for "Encrypt URLs" checkbox [false]
define('DEFAULT_ENCRYPT_URLS',true);
# Default value for "Encrypt Cookies" checkbox [false]
define('DEFAULT_ENCRYPT_COOKS',true);

		
		

高级选项

#从代理服务器到用户的传输用gzip压缩
define('GZIP_PROXY_USER',true);
# 如果可能,在代理获取的内容也用gzip压缩
define('GZIP_PROXY_SERVER',true);

#每次访问的超时计数,由10秒增加到20秒
define('TIME_LIMIT',20);
#域名解析缓存的时间,由原来的10分钟,改为90分钟
define('DNS_CACHE_EXPIRE',90);
		

40.3.2. CGIproxy

http://www.jmarshall.com/tools/cgiproxy/

40.3.3. PHPProxy

http://sourceforge.net/projects/poxy/

		
$ wget http://nchc.dl.sourceforge.net/sourceforge/poxy/poxy-0.5b2.zip
$ unzip poxy-0.5b2.zip
		
		

http://freshmeat.net/projects/phpproxy/

40.3.4. BBlocked

http://www.bblocked.org/

40.3.5. Glype

http://www.glype.com/

40.3.6. Zelune