工作原因做了一个Apache反向代理,主要就是内部的url,映射到外部,供外网访问。其他url都很正常,就一个url报错502。
主要配置:
<VirtualHost *:80>
ServerName s.whty.com.cn
ServerAlias s.whty.com.cn
ProxyPreserveHost On
#无锡TSMP
ProxyPass /tsmp http://10.8.3.231:21005
ProxyPassReverse /tsmp http://10.8.3.231:21005
</VirtualHost>
error.log显示:
Mon Oct 17 14:17:56.903520 2016] [proxy_http:error] [pid 2332:tid 776] (20014)Internal error (specific information not available): [client 10.8.8.254:2755] AH01102: error reading status line from remote server 10.8.3.231:21005
[Mon Oct 17 14:17:56.903520 2016] [proxy:error] [pid 2332:tid 776] [client 10.8.8.254:2755] AH00898: Error reading from remote server returned by /tsmp
不知道有没有人清楚,查了很多资料,也没可参考的。求指教~~
编辑回复