Questions tagged [wfastcgi]

wfastcgi.py provides a bridge between IIS and Python using WSGI and FastCGI, similar to what mod_python provides for Apache HTTP Server. It can be used with any Python web application or framework that supports WSGI, and provides an efficient way to handle requests and process pools through IIS.

Microsoft developed this component as part of the Python extensions for Azure App Service on Windows initially.

Note that Microsoft has deprecated the Python extensions, so you should switch to Linux.

https://learn.microsoft.com/en-us/visualstudio/python/managing-python-on-azure-app-service?view=vs-2017

Important

Microsoft has deprecated the Python extensions for App Service on Windows as described in this article in favor of a direct deployment to App Service on Linux.

81 questions
0
votes
1 answer

wfastcgi fails import cx_Oracle, but `python -c "import cx_Oracle" succeeds

I have IIS setup with fastCGI, serving a flask app. So far so good. Next I whish to add some database connectivity, so I add the line import cx_Oracle to my app. Now this error is thrown: Error occurred while reading WSGI handler: Traceback (most…
Sebastiaan
  • 1,166
  • 10
  • 18
0
votes
1 answer

wfastcgi cannot find flask app in IIS on Win7

I am trying to set up wfastcgi on IIS6 for Windows 7, but it can't find my 'app.py' file. I used http://netdot.co/2015/03/09/flask-on-iis/ as my directions for setting it up. Below is the error message I am receiving. In my search for finding the…
T. Cook
  • 1
  • 1
  • 6
0
votes
1 answer

IIS rewrites and handlers conflict

I'm trying to set up a Django/Angular application under IIS. When I set a similar application under nginx, I pass all URLs starting with /api (my backend) or /admin (the Django admin interface) to Django. I also set two locations: / and /static -…
zmbq
  • 38,013
  • 14
  • 101
  • 171
-1
votes
1 answer

docx to pdf conversion working locally when called from flask function but doesn't work on deployment server

I have a flask app that contains a function to create a docx document then converts it to pdf, when i run the code on my local machine everything works fine and the pdf document is created but when i host the app on IIS on deployment machine with…
baraatemp
  • 5
  • 4
-1
votes
1 answer

Error in Other IIS sites, Due to after hosting Python Web application in IIS

I have deployed Python Webservice using Flask and fastcgi in IIS server, https://medium.com/@bilalbayasut/deploying-python-web-app-flask-in-windows-server-iis-using-fastcgi-6c1873ae0ad8 It works fine with 8080 port enter image description here But…
-5
votes
2 answers

The FastCGI process exited unexpectedly while deploying Django project on iis windows server

FAST CGI IS NOT WORKING PROPERLY IN DJANGO DEPLOYMENT ON IIS WINDOW SERVER HTTP Error 500.0 - Internal Server Error C:\Users\satish.pal\AppData\Local\Programs\Python\Python310\python.exe - The FastCGI process exited unexpectedly Most likely…
1 2 3 4 5
6