Windows 上的 Apache 服务器、mod_wsgi、烧瓶

时间:2021-01-29 09:13:27

标签: windows flask deployment

我构建了一个烧瓶,我想将服务器转移到 apache,我找到了一些链接,并关注了其中的一个。 https://thilinamad.medium.com/flask-app-deployment-in-windows-apache-server-mod-wsgi-82e1cfeeb2ed 我现在遇到的问题是服务器将启动并且端口为 80,当我尝试运行它不断加载的应用程序时,我正在本地主机上运行它。 这是我的错误日志和访问日志。 当我查找 408 时,它说服务器超时,但我可以知道可能是什么原因吗?

[Fri Jan 29 14:28:03.366674 2021] [mpm_winnt:notice] [pid 13632:tid 948] AH00364: Child: All worker threads have exited.
[Fri Jan 29 14:28:03.432616 2021] [mpm_winnt:notice] [pid 23896:tid 828] AH00430: Parent: Child process 13632 exited successfully.
[Fri Jan 29 14:28:06.939308 2021] [mpm_winnt:notice] [pid 16956:tid 804] AH00455: Apache/2.4.46 (Win64) mod_wsgi/4.7.1 Python/3.7 configured -- resuming normal operations
[Fri Jan 29 14:28:06.940107 2021] [mpm_winnt:notice] [pid 16956:tid 804] AH00456: Apache Lounge VS16 Server built: Dec  9 2020 13:42:35
[Fri Jan 29 14:28:06.941104 2021] [core:notice] [pid 16956:tid 804] AH00094: Command line: 'httpd.exe -d C:/Apache24'
[Fri Jan 29 14:28:06.948480 2021] [mpm_winnt:notice] [pid 16956:tid 804] AH00418: Parent: Created child process 13024
[Fri Jan 29 14:28:07.989753 2021] [mpm_winnt:notice] [pid 13024:tid 860] AH00354: Child: Starting 64 worker threads.

::1 - - [29/Jan/2021:14:23:40 +0530] "GET / HTTP/1.1" 403 199
::1 - - [29/Jan/2021:14:23:44 +0530] "GET /favicon.ico HTTP/1.1" 403 199
::1 - - [29/Jan/2021:14:24:40 +0530] "-" 408 -
::1 - - [29/Jan/2021:14:30:26 +0530] "-" 408 -

0 个答案:

没有答案