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]
38 questions
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…
![](../../users/profiles/288505.webp)
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…
![](../../users/profiles/243892.webp)
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,…
![](../../users/profiles/190816.webp)
Neil
- 842
- 6
- 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?…
![](../../users/profiles/189301.webp)
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…
![](../../users/profiles/4386.webp)
Tuinslak
- 1,435
- 7
- 30
- 54
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…
![](../../users/profiles/517701.webp)
VikasPushkar
- 101
- 1
0
votes
0 answers
How do browsers cache PAC files?
How do browsers and other applications cache PAC files? If I'm serving a PAC file and update the configuration (e.g. add or remove a domain that should go through the proxy), when will different browsers recognize the updated configuration? Is there…
![](../../users/profiles/22351.webp)
ykaganovich
- 139
- 1
- 8
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…
![](../../users/profiles/49239.webp)
sikas
- 124
- 7