How do I register an IIS FastCGI application in a MSDeploy's `web.config` file as documented (http://www.iis.net/configreference/system.webserver/fastcgi/application#005)?
I'm building a simple test MS Web Deploy package installable by
the Web Platform Installer via a custom feed. I'm trying to
register a FastCGI application in the packages `web.config` as the
docs indicate is possible. You can see the web.config file on github (https://github.com/rpatterson/iiswsgi/blob/9b64c08fffdd8a3110e976160037576f907bdc96/sample.msdeploy/IISWSGISampleApp/web.config
).
This doesn't work when installed via the Web Platform Installer and then tested through Web Matrix/IIS Express. However, as soon as I run an `appcmd.exe` command (https://github.com/rpatterson/iiswsgi/blob/9b64c08fffdd8a3110e976160037576f907bdc96/install.cmd) the FastCGI app works just fine. IOW, it seems like the `` elements in `web.config` don't take effect, but they do in IIS's `applicationhost.config` even though the docs indicate this is possible in `web.confg`.
Is there a way to get this to work in the specific app (through `web.config` or otherwise) without changing the global IIS config?
I'm doing all this under Windows 7 Professional, Web Platform
Installer 4.0, and Web Matrix 2.0 RC.
The code behind all this is in IISWSGI on GitHub (https://github.com/rpatterson/iiswsgi/commit/9b64c08fffdd8a3110e976160037576f907bdc96
). Also see this question on Stack Overflow (http://stackoverflow.com/questions/12525508/system-webserver-fastcgi-application-not-working-in-web-config).
↧