- Enable IIS on Windows Enable Internet Information Services (IIS) in Turn Windows Features On or Off.
- Make sure that
IIS > Web Management Tools > IIS Management Console
is checked. - Also
IIS > World Wide Web Services > Common HTTP
checkDefault Document
,Directory Browsing
,HTTP Errors
,Static Content
- Install Python 3.* and add it to the Environment Path
- Install wfastcgi
Run
pip install wfastcgi
in a terminal
- Open IIS Manager
- Under
ServerName > Sites
, right-click onDefault Web Site
and select Add Application - Select the newly created app under the Default Web Site
- Double-click on Handler Mappings
- On the right-side panel, select Add module mapping
- Set
Request Path
to*
- Select
Module
toFastCgiModule
- Set
Executable (optional)
to the path that was saved earlier when enabling wfastcgi - Set any name for the handler
- Click on Request Restrictions and under the Mapping tab uncheck the box for Invoke Handler only if request is mapped to : ...
- Click OK
- Set
- Click OK
- A dialog box
Add Module Mapping
which saysDo you want to create a FastCGI application for this executable?
will be shown. Click Yes.
- Double-click on Handler Mappings
- Select
Application Pools
under the ServerName- Click on
Add Application Pool
in the right-side panel - Select the newly created applcation pool, right-click and select Advanced Settings
- Click on
- Click on the ServerName
- Restart the server for the changes to take place