[英]Apache Reverse Proxy Error
My web system: 我的网络系统:
Internet<--->Apache Reverse Proxy<---->Apache Application Server Internet <---> Apache反向代理<----> Apache Application Server
URL for client access internet: www.example.com 客户端访问Internet的URL:www.example.com
My problem: 我的问题:
When I access www.example.com and upload data(this is excel file). 当我访问www.example.com并上传数据(这是Excel文件)时。 I get the following error:
我收到以下错误:
Proxy Error
代理错误
The proxy server received an invalid response from an upstream server.
代理服务器从上游服务器收到无效响应。 The proxy server could not handle the request POST /index.php/adminstrator/store/substore/import/.
代理服务器无法处理请求POST /index.php/adminstrator/store/substore/import/。
Reason: Error reading from remote server
原因:从远程服务器读取错误
Apache/2.2.3 (CentOS) Server at www.example.com Port 80
网址为www.example.com的Apache / 2.2.3(CentOS)服务器端口80
To resolve the problem I have set the configuration in httpd.conf: 为了解决该问题,我在httpd.conf中设置了配置:
KeepAlive On
MaxKeepAliveRequest 0
KeepAliveTimeout 7200
But it is still giving me the same error. 但这仍然给我同样的错误。
We resolved similar errors by setting the following in the httpd.conf: 我们通过在httpd.conf中设置以下内容解决了类似的错误:
SetEnv proxy-initial-not-pooled
This seems to be a bug with Apache 2.2.x I believe. 我相信这似乎是Apache 2.2.x的错误。
Hope this helps someone. 希望这对某人有帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.