My Environment (All 32 Bit)

  • Apache 2.4(通过XAMPP)

  • Python 2.7.6
    适用于Apache 2.4的

  • mod_wsgi 3.4

  • Windows 7 64位

http.config

  • LoadModule wsgi_module modules / mod_wsgi.so

  • WSGIScriptAlias \ application C:\ xampp \ htdocs \ site \ wsgi \ wsgi_app.wsgi(VirtualHost)

  • AddHandler wsgi-script .wsgi(VirtualHost)

Apache Error Log (Last Entries After Apache Restart)

  • [Fri Mar 21 16:22:59.679443 2014] [:info] [pid 7160:tid 440] mod_wsgi(pid = 7160):初始化Python .

  • [Fri Mar 21 16:22:59.705445 2014] [:info] [pid 7160:tid 440] mod_wsgi(pid = 7160):附加翻译'' .

据我所知,只有当额外的目录需要搜索时才需要WSGIPythonPath / wsgi文件的目录不应该,所以不明白为什么纯文本出现在Chrome中?

这是由Google Documentation完成的 .

问候