-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathweb.config
More file actions
23 lines (23 loc) · 976 Bytes
/
web.config
File metadata and controls
23 lines (23 loc) · 976 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?xml version="1.0"?>
<configuration>
<appSettings>
<add key="PYTHONPATH" value="%ROOTDIR%" />
<add key="WSGI_HANDLER" value="ptvs_virtualenv_proxy.get_virtualenv_handler()" />
<add key="WSGI_ALT_VIRTUALENV_ACTIVATE_THIS" value=".\activate_env.py" />
<add key="WSGI_ALT_VIRTUALENV_HANDLER" value="app.app" />
</appSettings>
<system.webServer>
<modules runAllManagedModulesForAllRequests="true" />
<handlers>
<add name="Python FastCGI" path="handler.fcgi" verb="*" modules="FastCgiModule" scriptProcessor="D:\Python34\python.exe|D:\Python34\Scripts\wfastcgi.py" resourceType="Unspecified" requireAccess="Script" />
</handlers>
<rewrite>
<rules>
<rule name="Configure Python" stopProcessing="true">
<match url="(.*)" ignoreCase="false" />
<action type="Rewrite" url="handler.fcgi/{R:1}" appendQueryString="true" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>