I'm trying to wrap my head around setting up a module mapping for IIS in a script. I've got the command
%windir%\system32\inetsrv\appcmd set config /section:handlers /+"[path='*.cgi',modules='CgiModule',name='vscgi',verb='get,head,post']"
which does pretty much everything I need, however, instead of explicitly accepting three verbs, I would rather just accept all verbs (like the system does by default when defining a module mapping via the UI). Is this possible?
Yes there is!
Specify the verb attribute value as
'*'
, just like in the sample code provided on IIS.NET: