Apache 502 The proxy server 解决办法

简介:

Apache 使用代理出现
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /.

Reason: DNS lookup failure for: xxx.xxx.com
错误,解决办法:

在apache配置文件中的httpd.conf或vhost目录中添加

SetEnv force-proxy-request-1.0.1
SetEnv proxy-nokeepalive 1    (加到外面使用与所有主机)

wKiom1YgVd6T7r8YAAGXO_Dwm3Q174.jpg

本文转自silence博客51CTO博客,原文链接http://blog.51cto.com/silencezone/1703410如需转载请自行联系原作者


a120518129

相关文章
|
应用服务中间件 Android开发
Server Tomcat v9.0 Server at localhost failed to start问题的解决
Server Tomcat v9.0 Server at localhost failed to start问题的解决
690 0
|
应用服务中间件 Android开发
“Server Tomcat v9.0 Server at localhost was unable to start within 45 seconds“的解决方案
“Server Tomcat v9.0 Server at localhost was unable to start within 45 seconds“的解决方案
868 0
“Server Tomcat v9.0 Server at localhost was unable to start within 45 seconds“的解决方案
|
应用服务中间件 Android开发
Could not publish server configuration for Tomcat v6.0 Server at localhost. Multiple Contexts.
Could not publish server configuration for Tomcat v6.0 Server at localhost. Multiple Contexts.
145 0
Could not publish server configuration for Tomcat v6.0 Server at localhost. Multiple Contexts.
|
应用服务中间件 Android开发
springMvc16-Could not publish server configuration for Tomcat v8.0 Server at localhost.
springMvc16-Could not publish server configuration for Tomcat v8.0 Server at localhost.
108 0
|
网络协议 Shell 数据安全/隐私保护

推荐镜像

更多