How do I deploy a Flask application in IIS?

后端 未结 3 1250

Can anyone help me get a Flask application running on IIS 6? I have tried to use isapi-wsgi, but when I visit the Virtual Directory address I get a page that says \"The spe

3条回答
  •  -上瘾入骨i
    2020-12-12 14:13

    I never use IIS, but IIS supports CGI gateway, therefore you should be able to adapt CGI with WSGI.

    IIS <--> CGI <--> WSGI
    

    To run a WSGI as a CGI script, you can use the CGIHandler in Python standard library.

提交回复
热议问题