Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

Proxy Failover Using PAC File is Not Working in Firefox 19.0

  • 1 réponse
  • 1 a ce problème
  • 7 vues
  • Dernière réponse par guigs

more options

Hi Team, I'm using a automatic proxy script file which is proxy.pac . Content of the file as below,

function FindProxyForURL(url, host) { if (shExpMatch(host, "portal.hclinsys.com")) { return "DIRECT"; } return "PROXY 192.168.10.5:8080; PROXY 192.168.10.25:8080"; }

My ultimate objective is i'm using two proxy servers in our environment. 192.168.10.5 is my primary proxy server and 192.168.10.25 is my secondary proxy.

If my primary goes down, i should automatically redirect to the second proxy 192.168.10.25.

My observation is firefox only looks for the first proxy say 192.168.10.5. if it doesnt resolve the webpage giving the error message and its not trying to resolve through my second proxy.

Kindly help me to diagnose this issue.

Regards, Saran

Hi Team, I'm using a automatic proxy script file which is proxy.pac . Content of the file as below, function FindProxyForURL(url, host) { if (shExpMatch(host, "portal.hclinsys.com")) { return "DIRECT"; } return "PROXY 192.168.10.5:8080; PROXY 192.168.10.25:8080"; } My ultimate objective is i'm using two proxy servers in our environment. 192.168.10.5 is my primary proxy server and 192.168.10.25 is my secondary proxy. If my primary goes down, i should automatically redirect to the second proxy 192.168.10.25. My observation is firefox only looks for the first proxy say 192.168.10.5. if it doesnt resolve the webpage giving the error message and its not trying to resolve through my second proxy. Kindly help me to diagnose this issue. Regards, Saran

Toutes les réponses (1)

more options

HI Saran, There were a number of addons that are suggested in the other threads I researched: this one was interesting

THis one toohttp://forums.mozillazine.org/viewtopic.php?t=13730 It looks like they used the auto proxy url and pointed this to the function as an example. I do not know if this will still work in the current version. Have you also tried asking in [stackoverflow.com]?