I am running IIS5.1.1 with the fcgi module (latest fcgisetup32.msi) on XP.
Most of the features of my application (ported from Linux/Apache) work without problems - that is, everything which gets exchanged with the FCGI script via the GET method.
But when POST-ing, I get a "404 3" status code in the IIS log, and no output. Furthermore, it seems that the fcgi script is not even called for these POST events, so this does not look like an output problem of the FCGI - it seems to get stuck in IIS, where the request was received by the browser, but not sent on to the FCGI app.
I read about the MIME type mappings, but could not find any configuration which would fix this. In any case, the FCGI script always returns proper explicity MIME type info in the returned headers. The app directory is configured to allow script execution etc. (after all, the GET path is exactly the same as the POST path), and adding any type for ".fcgi" did not make a difference.
This is the fcgiext.ini:
[Types]
fcgi=Sketcher
[Sketcher]
ExePath=C:\Inetpub\wwwroot\edit\csweb.exe
Arguments=-f C:\Inetpub\wwwroot\edit\editsrv.fcgi
ActivityTimeout=10
InstanceMaxRequests=10000
StderrMode=IgnoreAndReturn200
MonitorChangesTo=C:\Inetpub\wwwroot\edit\editsrv.fcgi
Here is some log data (the GET worked OK, the POST not)
#Software: Microsoft Internet Information Services 5.1
#Version: 1.0
#Date: 2009-06-24 17:39:30
#Fields: time c-ip cs-method cs-uri-stem cs-uri-query sc-status sc-win32-status sc-bytes cs-bytes
17:39:32 192.168.1.127 GET /edit/editsrv.fcgi drawevent=smiles&sessionid=1245861545312&key_cur=f83acb43-ef91-4ef0-9a32-da53b25e9e1c&key_bck=966ee34c-bc3a-413d-9697-681f208db776&style=smiles&cnt=141 200 0 1883 927
17:39:33 192.168.1.127 POST /edit/editsrv.fcgi - 404 3 4315 3342
Any ideas?