[英]python script is not running in apache
I hosted my python script in Apache server. 我将Python脚本托管在Apache服务器中。 And configured the
httpd.conf
with the help of this article . 并在本文的帮助下配置了
httpd.conf
。
But when I am running http://127.0.0.1:8080
it says "It works!" 但是,当我运行
http://127.0.0.1:8080
它说“有效!” but when running my flask script method it says The requested URL /status was not found on this server.
但是在运行我的flask脚本方法时,它说
The requested URL /status was not found on this server.
. 。 ps: I am running it by
http://127.0.0.1:8080/status
. ps:我正在通过
http://127.0.0.1:8080/status
运行它。 Please help. 请帮忙。 I searched a lot in google but still I cannot resolve this.
我在Google中搜索了很多,但仍然无法解决。 Thanks in advance.
提前致谢。
added application-group=%{GLOBAL}
in WSGIScriptAlias
line. 在
WSGIScriptAlias
行中添加了application-group=%{GLOBAL}
。 It worked. 有效。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.