Questions tagged [proxy.pac]
14 questions
15
votes
2 answers
How to debug a Javascript proxy.pac file used for IE proxy settings?
does someone know if its posible to debug a proxy.pac, this file is written in Javascript.
how can it be attached to some debug engine like Visual Studio or any other IDE

Oscar Cabrero
- 4,168
- 8
- 29
- 49
9
votes
1 answer
CNTLM proxy and .pac file
Is there a way to use CNTLM proxy with autoconfiguration .pac file? I'd like CNTLM to automatically decide, which urls should be resolved through proxy and which directly (basing on a remote corporate .pac file).

aerion
- 702
- 1
- 11
- 28
6
votes
1 answer
Exactly what kind of matching does shExpMatch do?
All of the documentation I can find about the shExpMatch function is awful. For example:
findproxyforurl.com - "Will attempt to match hostname or URL to a specified shell expression"
Microsoft - "The shExpMatch(str, shexp) function returns true if…
user2404501
2
votes
1 answer
How to use libproxy with proxy.pac?
Has anyone here used Libproxy library? If I am to make an application to resolve proxy settings by reading proxy.pac from a remote server, would libproxy help me with that? Any ideas on how to use libproxy to download pac scripts and get the proxy…

giantKamote
- 33
- 1
- 9
2
votes
1 answer
proxy.pac - exception for images
I'm a web developer and I use squid as a proxy, which I entered in firefox as the proxy server.
So when I enter http://www.example.com in firefox, I see the site on my local machine, by having configured squid accordingly.
Now problem is, that some…

C. S.
- 127
- 1
- 2
- 8
2
votes
2 answers
Auto reload proxy.pac file in chrome browser
I am using proxy.pac file to route my traffic in chrome browser.Whenever I change my proxy.pac file I need to manually click reapply settings button here chrome://net-internals/#proxy to make it work. My proxy.pac file will change frequently so it…

Jeya Kumar
- 1,002
- 1
- 13
- 36
2
votes
2 answers
Parsing a proxy.pac file in C# (WPF)
I need to parse a proxy.pac in the C# code. Getting the proxy via WebProxy-method is not an option, because I read the proxy settings from a file, not from the current system.
I tried Jint and ClearScript to use a nested JavaScript engine inside the…

ecth
- 1,215
- 1
- 16
- 33
1
vote
1 answer
Creating a .pac to redirect certain pages
I've been at this for a while and i'm stumped. I need to create and Automatic Configuration script for one of our servers. It needs to be able to individually block/reroute certain url's.
For example, our product uses Facebook and if the facebook…

user1016748
- 11
- 1
- 3
1
vote
0 answers
How to setup proxy.pac in electron by session.setProxy() method
I have the proxy.pac file like this:
function FindProxyForURL(url, host) {
return 'PROXY http://{some_ip_host}:3128';
}
And I want to setup this proxy setting in my electron app.
The result, that I want to see:
In main.js I have something code…

Joe Koteyko
- 11
- 1
1
vote
1 answer
Uploading images with Uploadify run into IO Error with local proxy (proxy.pac)
I'm trying to upload images with Uploadify but I run into IO error. I have got http://github.com/leeh/uploadify_paperclip_demo and it works on my computer, so I decided to implement functionality of my application to this example step by step to…

Voldy
- 12,829
- 8
- 51
- 67
0
votes
0 answers
IPv6 support for proxy.pac
I have a Linux system with Firefox and for example this proxy.pac from the server:
if (shExpMatch(host, "*.de")) {
return "PROXY [fd00::1]:8080; " + "PROXY [fd00::2]:8080";
}
With IPv4 it works perfectly fine, but IPv6 not. What did I…

yoloknight
- 11
- 1
0
votes
1 answer
Tomcat 6 - Java proxy tunneling failed on Windows - ERROR - 407
I've created a class which deal with HTTP proxy to connect with remote server for web services. Deployed on Tomcat 6, on Windows server 2008 and called in servlet.
It is working perfectly with $CATALINA_HOME\bin\tomcat6.exe, i.e. on cmd.
It…

Simon
- 1
- 3
0
votes
0 answers
proxy.pac - using regexp to proxy site root but not subfolders
I have a bit of a strange request in that I am trying to use a proxy.pac file to use a proxy server for the following:
www.domain.com
www.domain.xx.xx
www.domain.com/?foo=1&bar=1 (where foo/bar can be any querystring)
but…

James
- 656
- 2
- 10
- 24