2007年6月4日星期一

blogspot.com 打不开怎么办?

当 blogspot.com 和 .googlepages.com 打不开时。。。。。。
 
创建一个文件 proxy.pac:
代码:

function FindProxyForURL(url,host){
    if(dnsDomainIs(host, ".blogspot.com")){
        return "PROXY 72.14.219.190:80";
    }
    if(dnsDomainIs(host, ".googlepages.com")){
        return "PROXY 72.14.219.190:80";
    }
    if(dnsDomainIs(host, "pages.google.com")){
        return "PROXY 72.14.219.190:80";
    }
    return "DIRECT";
}


然后在Firefox 里设置代理为"自动代理配置URL":file:///home/joe/proxy.pac

当然,目录替换成你自己存放 proxy.pac 的目录。

没有评论: