Testing Proxy.pac Files

I decided to do a bit of checking on the proxy.pac file we were using. I grepped through our Apache access log files to pull out all of the IP addresses accessing the file over the year:

Armed with the list of IP addresses I next fired up pactester.


Pactester is available from Google Code

Simple usage:

The output of which could be:

PROXY server1.domain.uk:8080; PROXY server2.domain.uk:8080

So to test all my IP addresses I feed the IP addresses to pactester and I can grep for the output I am looking for e.g. DIRECT connections:

Leave a Reply

  • (will not be published)

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">