Nugget post: PAC file validation

A nifty tool that’s quite useful in catching errors in your PAC [proxy auto config] file is “pacparser”. You can find it here:

http://code.google.com/p/pacparser/

The win32 zip file contains a binary executable that you just point to your PAC file and an example URL to test with. It will then use javascript to parse the file and display where it got stuck or if successful, the results returned.

When encountering an error, it also highlights in which line the error was encountered, leading to easier troubleshooting.

FYI: a pac file is a setting in your browser that instructs the browser which proxy to use. It’s useful for cases where you’d only want to use a proxy conditionally (example only certain site go through proxy A, the rest through proxy B), proxy load balancing and failover, etc

http://en.wikipedia.org/wiki/Proxy_auto-config

Quite a good PAC file checker.

Advertisement
Privacy Settings

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.