Quantcast
Channel: General
Viewing all articles
Browse latest Browse all 7363

add ISAPI filter using powershell

$
0
0

guys, i need to add an ISAPI filter on a specific website ONLY (on a site level not on the root) in IIS 8.5 server 2012 using powershell

this is my code that is working on the top level on all sites, 

Add-WebConfiguration -PSPath IIS:\ -Filter /system.webServer/isapiFilters -Value @{
name = 'Jakarta'
path = 'c:\Jakarta Isapi Redirector\bin\isapi_redirect.dll'
}

case 1: i want it to add the filter on the "Site-1" which is the default website (but on another server).

case 2: i want it to add the filter on the "Site-1" which is not the default website.

thanks.


Viewing all articles
Browse latest Browse all 7363

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>