web.config 1.1 KB

1234567891011121314151617181920212223242526
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <configuration>
  3. <system.webServer>
  4. <defaultDocument>
  5. <files>
  6. <remove value="default.aspx" />
  7. <remove value="iisstart.htm" />
  8. <remove value="Default.asp" />
  9. <remove value="Default.htm" />
  10. <add value="index.php" />
  11. </files>
  12. </defaultDocument>
  13. <handlers>
  14. <add name="Python FastCGI" path="*" verb="*" modules="FastCgiModule" scriptProcessor="c:\python\python.exe|c:\python\lib\site-packages\wfastcgi.py" resourceType="Unspecified" requireAccess="Script" />
  15. </handlers>
  16. </system.webServer>
  17. <appSettings>
  18. <add key="WSGI_HANDLER" value="django.core.wsgi.get_wsgi_application()" />
  19. <add key="PYTHONPATH" value="C:\webproject\second" />
  20. <add key="DJANGO_SETTINGS_MODULE" value="second_pro.settings" />
  21. </appSettings>
  22. <system.web>
  23. <identity impersonate="true" />
  24. </system.web>
  25. </configuration>