Showing results for 
Search instead for 
Did you mean: 
Level 9

Hosting Proxy.Pac

I know that i can host the pac file on the MWG.

My question is can i host it on my Domain Controller Netlogon share?

Also is there an easy way to edit the Pac file?

0 Kudos
2 Replies
Level 12

Re: Hosting Proxy.Pac

You can host the PAC file on any location that the browser can reach by itself, with no proxy configured.  The MWG hosting the file is just a convenient place to put it, but the MWG itself has no effect on the file.

As far as editing, I generally use just a text editor.  I don't know of any tools that would make it easier.  It is just a file with Java Script however, so some editors may be able to provide some assistance that others may not.

0 Kudos
Level 10

Re: Hosting Proxy.Pac

You must host the pac file on a webserver. As per the specification it must be served over http and the content-type from the server must be application/x-ns-proxy-autoconfig (for maximum compatibility)

Pac files are just javascript editable with any text editor.

1) Make sure you save it as an ascii file and not some other encoding (like UTF8) as some browsers can be picky (IE 6)

2) Pacparser has a command line tool for verifying the pac file for errors that is very useful.


0 Kudos