mystryl
V2EX  ›  macOS

SAfari 通过 Http 代理无法访问Https

  •  
  •   mystryl · Apr 24, 2012 · 5695 views
    This topic created in 5166 days ago, the information mentioned may be changed or developed.
    PAC文件很正确,代理是Http的,在Chrome下一切正常运转如飞。
    但在Lion+Safari下,任何Https的连接都会被重置,查了也没有相关资料。
    谁遇到过类似的问题,有解决途径的啊?
    4 replies    1970-01-01 08:00:00 +08:00
    agassi_yzh
        1
    agassi_yzh  
       Apr 24, 2012
    Lion的safari用了沙盒技术的。不能访问到本地的pac了。

    两个办法可以搞定:
    1 把pac放在safari的程序文件夹里面。

    2 开启web share服务。pac地址写http://localhost
    agassi_yzh
        2
    agassi_yzh  
       Apr 24, 2012
    2 开启web share服务。pac地址写http://localhost/~login_username/pac_filename
    mystryl
        3
    mystryl  
    OP
       Apr 24, 2012
    @agassi_yzh 可是我的PAC是放在服务器上的呀。。
    agassi_yzh
        4
    agassi_yzh  
       Apr 24, 2012
    @mystryl

    var PROXY = "SOCKS5 127.0.0.1:7070;SOCKS 127.0.0.1:7070";

    return PROXY;

    的吗
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3129 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 71ms · UTC 13:16 · PVG 21:16 · LAX 06:16 · JFK 09:16
    ♥ Do have faith in what you're doing.