我一直用XAMPP来测试我的PHP应用程序而且我已经习惯了。现在,我想用Python开始我的冒险。我听说好的解决方案是使用mod_wsgi,但它在我的电脑上不起作用。我遵循了本教程:Setting Python Path in Windows XAMPP using WSGI
我收到了这些错误:
[Mon Aug 08 12:27:28 2011] [warn] mod_wsgi: Compiled for Python/2.7.
[Mon Aug 08 12:27:28 2011] [warn] mod_wsgi: Runtime using Python/2.7.2.
[Mon Aug 08 12:27:30 2011] [notice] Digest: generating secret for digest authentication ...
[Mon Aug 08 12:27:30 2011] [notice] Digest: done
[Mon Aug 08 12:27:30 2011] [notice] Child 4884: Child process is running
[Mon Aug 08 12:27:30 2011] [notice] Child 4884: Acquired the start mutex.
[Mon Aug 08 12:27:30 2011] [notice] Child 4884: Starting 150 worker threads.
[Mon Aug 08 12:27:30 2011] [notice] Child 4884: Starting thread to listen on port 443.
[Mon Aug 08 12:27:30 2011] [notice] Child 4884: Starting thread to listen on port 80.
[Mon Aug 08 12:27:30 2011] [notice] Child 4884: Starting thread to listen on port 443.
[Mon Aug 08 12:27:30 2011] [notice] Child 4884: Starting thread to listen on port 80.
我没有安装mod_python。当我输入'localost / wsgi / test.wsgi'时,我的浏览器会收到'错误403'。
我希望你能帮助我。