IIS pac and dat files for proxy configuration

By default, IIS does not issue files with .dat and .pac extensions for automatic proxy configuration. If we try to attach to retrieve the file a 404 error page is displayed.

Allow proxy configuration files

You must declare MIME Types on the IIS server.

1. Open the console, go to server 1 and click on MIME types 2 .
Console IIS

2. In the Actions menu click Add 1 .
Add types mime

PAC file

Extension: .pac 1 .
MIME type: application / x-ns-proxy-autoconfig 2

Click OK 3 to add the type.

DAT

DAT file

Extension: .dat 1 .
MIME type: application / x-ns-proxy-autoconfig 2

Click OK 3 to add the type.

DAT


The IIS service will now respond to the HTTP request.





Related Posts


PHP on IIS: Installation and Configuration

Table Of ContentsPresentation PrerequisitesPHP installationInstalling PHP Manager for IISPHP configurationEnable a PHP extensionUse different versions of PHP depending on the sites Presentation In thi

GLPI: SSO with IIS – Single sign-on

In this article, I will explain how to implement SSO (Single Sign-On: Single Authentication) with GLPI installed with IIS. SSO saves the user from having to enter identifiers to connect to GLPI. Prere

IIS installation on Windows Server

IIS (Internet Information Services) is a proprietary WEB server available on Windows systems, many Windows features and software rely on it as: ExchangeSharePointWSUSADRMS... Like Apache, it supports