Get the App
SLTechnology News&Howtos  ›  Servers  › 

Server2008R2 IIS configuration ".PAC" automatic configuration script agent

Shulou Source: shulou.com Published: 2022-06-02 18:03:48 09月22日 Update

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.

Tags: Configuration agent type script file client client property extension method site upper point Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Linux OPPO Reno Microsoft Shulou Tech Info macOS