A proxy auto-config (PAC) file defines how web browsers and other user agents can automatically choose the appropriate proxy server for fetching a given URL.
Questions tagged [pac]
39 questions
0
votes
3 answers
Exclude URL with non-stanard port from Proxy via PAC/WPAD file
I'm running a Squid proxy and want to exclude a certain web address that is accessed over a non-standard port from going through the proxy, rather than open the port in an ACL within squid.conf (seems its a specific usage case).
In my case the port…

James White
- 674
- 3
- 18
- 32
0
votes
1 answer
bind squid and apache for pac file
EDIT It was some interne rules on FW, sorry for the inconvenience and thanks for your advices
I have a server with Squid (2.7.STABLE9) on a Debian (Wheezy 7.1) and I add an Apache2 (2.2.22) for send PAC file to all my user.
Both are setup and works…

user63946
- 15
- 2
- 6
0
votes
0 answers
Internet Explorer proxy pac files
We have a simple pac file used for staff in work and at home:
function FindProxyForURL(url, host) {
/* Exclude "Portico" URL */
if (shExpMatch(url, "*google.com*"))
{
return "DIRECT";
}
/* Set proxy? */
if…

MPB
- 1
0
votes
1 answer
Proxy Auto Config (PAC) dnsResolve() function return values
Good Morning!
I have a rather simple question. Does anyone have a function reference for the dnsResolve() function in Proxy Auto Configuration scripts? Or for that matter, a function reference for all the PAC functions? I'm looking for specifics,…

Neil
- 842
- 7
- 13
0
votes
1 answer
PAC file return statement with "+" sign
I saw a PAC file written like this
toky1 = "PROXY webproxy2.mycompany.com:8080; ";
dirext = "PROXY webproxy1.mycompany.com:8080; ";
if (isInNet(myIpAddress(), "10.1.33.0", "255.255.255.0")) {
return toky1+dirext;
}
How is this being interpreted?…

joeloca
- 1
0
votes
3 answers
proxy.pac file performance optimization
I reroute certain websites through a proxy with a proxy.pac file.
It basically looks like this:
if (shExpMatch(host, "www.youtube.com"))
{ return "PROXY proxy.domain.tld:8080; DIRECT" }
if (shExpMatch(host, "youtube.com"))
{ return "PROXY…

Tuinslak
- 1,465
- 8
- 32
- 56
0
votes
0 answers
Internet application not honouring Proxy PAC file
We have an app (excel add-in) that is configured to get it's proxy settings from IE (WinInet). This is how most modern apps work these days, they just hook into your system/IE proxy settings and use them. IE settings are to use a PAC file script and…

Mucker
- 382
- 2
- 10
0
votes
0 answers
In ubuntu Set Manual and PAC file both at the same time
I have a requirement, where a ubuntu user will set the manual proxy in the system, and at the same time to drive the traffic according to my software I need to set a PAC file for specific traffic. I need to have a manual proxy as well as a PAC file…

VikasPushkar
- 101
- 1
0
votes
1 answer
PAC File Not Functioning After Modification
I have this weird behavior from a PAC File. I have an existing PAC File that is working fine. Due to recent migrations, I had to start modifying the PAC file, and exclude some IPs and URLs, mainly for MS Teams, from the proxy.
After testing the…

sikas
- 126
- 7