【问题标题】:Phonegap / Jquery Mobile unable to connect through proxy for httpPhonegap / Jquery Mobile无法通过http代理连接
【发布时间】:2012-10-11 14:17:50
【问题描述】:

我使用 Chrome 和 Ripple 来测试我的应用程序没有任何问题。但是,如果我使用我的设备(连接到 PC)或模拟器(Android),第一个请求可以正常工作,但第二个没有。

我使用科尔多瓦 2.0

我的代码:

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"                  
      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      <html xmlns="http://www.w3.org/1999/xhtml"> 
      <head>
         <meta http-equiv="REFRESH" content="0;url=http://jquerymobile.com/demos/1.1.1/">
      </head>
      <body></body> 
      </html>

局域网(Lan)设置的配置 代理服务器: 地址:10.0.32.5 端口:8080

请问,我需要帮助来解决这个问题吗?

【问题讨论】:

  • 你关注this domain whitelisting guide了吗?
  • 是的,我的配置是:
  • 为什么不只是"*"? (而不是".*"
  • 好的,我改变了,但行为相同,您还有其他建议吗?非常感谢

标签: android cordova jquery-mobile proxy


【解决方案1】:

试试

<meta http-equiv="refresh" content="0;URL='http://example.com/'">

查看 URL 字段中的引号。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2016-06-30
    • 1970-01-01
    • 1970-01-01
    • 2020-05-31
    • 1970-01-01
    • 2018-01-27
    • 1970-01-01
    相关资源
    最近更新 更多