提交表单后,网页上显示如下报错:

Gateway Timeout
 The gateway did not receive a timely response from the upstream server or application.

Apache中log里的报错为:

Script timed out before returning headers: taqman_design.py, referer: http://192.199.0.88:9000/haha/

解决办法:

vim /etc/httpd/conf/httpd.conf
 在末尾加入:
Timeout 300000
然后 sudo service httpd restart

参考资料:
蒋博指导

发表评论

电子邮件地址不会被公开。 必填项已用*标注