The proxy server received an invalid response from an upstream server.
今天尝试了一下Apache+tomcat整合,apache和tomcat启动都没有报错。但是访问的时候老是报错
502 Bad Gateway Bad Gateway
在网上找了很久,找不到了,最后还是看日志解决的。下面的是我的配置,找到shsc-access_log.txt配置文件。
<VirtualHost *>
ServerAdmin fsdfds@e.com
DocumentRoot e:/duan/
ServerName 192.168.1.121:80
DirectoryIndex index.html index.htm index.jsp index.action
ErrorLog logs/shsc-error_log.txt
CustomLog logs/shsc-access_log.txt common
JkMount /*WEB-INF ajp13
JkMount /*j_spring_security_check ajp13