How to register an IIS FastCGI application in an MSDeploy file web.config as documented ?
I am trying to create a simple test suite of MS Web Deploy, a web platform installer to be installed using a custom feed . I am trying to register a FastCGI application in packages web.configas
Documents point . You can see the web.config file below or in github :
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<fastCgi>
<application fullPath="C:\Python27\python.exe" arguments="-u C:\Python27\Scripts\iiswsgi-script.py" monitorChangesTo="C:\Python27\Scripts\iiswsgi-script.py" maxInstances="1" />
</fastCgi>
...
This does not work during installation through the web platform installer and is then verified through Web Matrix / IIS Express. However, as soon as I ran the command appcmd.exe, as shown below, and into the install.cmdbatch file :
set IIS_BIN=%ProgramFiles%\IIS Express
"%IIS_BIN%\appcmd.exe" set config -section:system.webServer/fastCgi /+"[fullPath='%SystemDrive%\Python27\python.exe',arguments='-u %SystemDrive%\Python27\Scripts\iiswsgi-script.py',maxInstances='1',monitorChangesTo='%SystemDrive%\Python27\Scripts\iiswsgi-script.py']" /commit:apphost
... FastCGI . IOW, , <fastCGI><application> web.config , IIS applicationhost.config, , web.confg.
( web.config ) IIS?
Windows 7 Professional, -
Installer 4.0 Web Matrix 2.0 RC, :
Version 2.0 RC
WebMatrix: 7.1.1587.0
IIS Express: 8.0.8298.0
.NET Framework: 4.0.30319.17379 built by: FXBETAREL
Web Deploy: 7.1.1516.0
SQL Server Compact: 4.0.8854.1
Web Platform Installer: 7.1.1586.1
ASP.NET Web Pages: 2.0.20505.0
ASP.NET Web Pages: 1.0.20105.407
IISWSGI GitHub, commit .
, . IISWSGI.