iis

How to get the authenticated user name in Python when fronting it with IIS HTTP PlatformHandler and using Windows auth?

How to get the authenticated user name in Python when fronting it with IIS HTTP PlatformHandler and using Windows auth? Question: HttpPlatformHandler supports forwarding the auth token by enabling the forwardWindowsAuthToken setting in the web.config. This sounds like a useful feature when needing to use Windows Integrated Authentication. The document on this is very vague …

Total answers: 1

python.exe – The FastCGI process exited unexpectedly

python.exe – The FastCGI process exited unexpectedly Question: I have read all posts about this issue, here and on IIS forum, got it to the second page on Google too… and still can’t get it to work. I want to run Flask/Python app in IIS on Windows server 2016, but I keep getting this error: …

Total answers: 4

Import error while calling from IIS hosted .NET Core API

Import error while calling from IIS hosted .NET Core API Question: I am facing the below issue while running a python script from a .NET Core api which is hosted in windows server IIS .I am using pyrfc 1.9.5 SAP connector in this script. Here is the code below from pyrfc import Connection def GetConnection(connmeta): …

Total answers: 1

Flask, wfastcgi, and IIS on Windows Server 2012

Flask, wfastcgi, and IIS on Windows Server 2012 Question: I am trying to deploy a flask service on IIS on Windows Server 2012. To arrive at this point: pip installed flask (Python versions 2.7 and 3 were already installed.) pip installed wfastcgi Ran wfastcgi-enable Established a new site under IIS Added a handler for wfastcgi …

Total answers: 3

How do you set up a Python WSGI server under IIS?

How do you set up a Python WSGI server under IIS? Question: I work in a Windows environment and would prefer to deploy code to IIS. At the same time I would like to code in Python. Having read that IIS can run fastCGI application, I went to the IIS site where it describes in …

Total answers: 3