Home | Mirror | Search |
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);
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/