thirsch1
Posts: 10
Joined: Fri May 23, 2008 8:30 pm

Add a new IIS option

I need to add an isapiCgiRestriction in IIS 7. You currently only allow adding ISAPI Filters. A similar feature to add an isapiCgiRestriction is needed. There is a command line interface to do it.

Bat file to add and remove one follows:
rem To add a isapiCgiRestriction to IIS 7

cd C:\Windows\System32\inetsrv
appcmd set config /section:isapiCgiRestriction /+"[path='C:\Perl\bin\perl.exe',description='Team App Demo Bouncer',allowed='True']"


rem To remove a isapiCgiRestriction to IIS 7

cd C:\Windows\System32\inetsrv
appcmd set config /section:isapiCgiRestriction /-"[path='C:\Perl\bin\perl.exe',description='Team App Demo Bouncer']"
pause

rem Where
rem C:\Perl\bin\perl.exe is the executable
rem Team App Demo Bouncer is the description
rem
rem Allowed can be either true or false but true makes sense if you are installing
rem The + adds it and a - would delete it
Bogdan
Posts: 2794
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Add a new IIS option

Hi,

This is already in our list of improvements. It should be included in a release in the first half of this year. The next release (9.9 or 10.0) will not include it.

Best regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Feature Requests”