<isapiFilters> element allows you to manage ISAPI filters on your Internet Information Services (IIS) 7 server. You can add an ISAPI filter when you want to enhance Web server functionality. For example, you might have an ISAPI filter that captures information about HTTP requests and saves the information to a database.
Introduction: This document explains how to set up the ISAPI redirector for IIS to cooperate with Tomcat. Normally IIS can not execute Servlets and Java Server Pages (JSPs), configuring IIS to use the ISAPI redirector plugin will let IIS send servlet and JSP requests to Tomcat (and this way, serve them to clients).
Although IIS 7 supports ISAPI filters, Microsoft recommends that you extend Web server functionality by using modules instead of by using ISAPI filters.
<isapiFilters> element can contain one or more
<filter> elements, each of which defines an ISAPI filter enabled for your server or Web site. It can also contain a
<remove> element, which you can use to remove a specific ISAPI filter inherited from higher in the configuration hierarchy. The
<isapiFilters> element can also contain a
<clear> element, which removes all ISAPI filters inherited from higher in the configuration hierarchy.
|IIS 10.0||The |
|IIS 8.5||The |
|IIS 8.0||The |
|IIS 7.5||The |
|IIS 7.0||The |
|IIS 6.0||The |
To use the
<isapiFilters> element, you must install the ISAPI Filters module on your IIS 7 and later server. To do so, use the following steps.
Open Internet Information Services (IIS) Manager:
If you are using Windows Server 2012 or Windows Server 2012 R2:
If you are using Windows 8 or Windows 8.1:
If you are using Windows Server 2008 or Windows Server 2008 R2:
If you are using Windows Vista or Windows 7:
In the Connections pane, go to the connection or site for which you want to configure ISAPI filters.
In the Home pane, double-click ISAPI Filters.
In the Actions pane, click Add..
In the Filter name text box of the Add ISAPI Filter dialog box, type a friendly name for the ISAPI filter.
In the Executable box, type the file system path of the location of ISAPI filter file or click the ellipsis (..) to navigate to the folder that contains the ISAPI filter file, and then click OK.
You can add an ISAPI filter at the server level and the site level. If you add the ISAPI filter at the server level, the filter intercepts all requests made to the server. If you add the ISAPI filter to a specific site, the filter intercepts all requests made to that site.
You can configure the
<isapiFilters> element at the server level in the ApplicationHost.config file or at the site level in the appropriate Web.config file.
Removes all references to ISAPI filters from the ISAPI filters collection.
Adds an ISAPI filter to the ISAPI filters collection.
|Optional element. |
Removes a reference to an ISAPI filter from the ISAPI filters collection.
The following configuration example adds an ISAPI filter named SalesQueryIsapi to a Web site or application. The sample names and enables the ISAPI filter with the name and enabled attributes. It also uses the enableCache attribute to disable HTTP.sys caching and the path attribute to specify the location of the ISAPI DLL.
The following examples configure an ISAPI filter named SalesQueryIsapi on the server. Each of the examples use the name property to specify a name for the ISAPI filter, the enableCache property to disable HTTP.sys caching, and the pathNvidia gtx 980 4 gb for mac pro 4k video editing. property to specify the location of the ISAPI DLL.
You must be sure to set the commit parameter to
apphost when you use AppCmd.exe to configure these settings. This commits the configuration settings to the appropriate location section in the ApplicationHost.config file.