Server2008R2 IIS configuration ".PAC" automatic configuration script agent
Server2008R2 IIS Configuration ".PAC" Autoconfiguration Script Agent
Recently, I used proxy auto-configuration script to facilitate clients to use proxy, but found that there is no MIME type for files such as.pac configured by default on IIS!
Solution:
In IIS, right-click on the site-> Properties-> HTTP Header-> MIME Type-> New
Then fill in the following (note that the dot number cannot be less):
For "extension" fill in.pac
"MIME type" fill in application/x-ns-proxy-autoconfig
Click OK again so IIS can provide access to the.pac file.