Apache 配置了ProxyPass,用作URL的转换,但是不起作用。内容如下:
#ProxyPass /webapp_service http://localhost:8080/webapp
#ProxyPassReverse /webapp_service http://localhost:8080/webapp
找了另一个成功的配置文件一对比,原来是多了“#”符号,相当于被注释掉了。
去掉井号就OK了。
ProxyPass /webapp_service http://localhost:8080/webapp
ProxyPassReverse /webapp_service http://localhost:8080/webapp
荒唐的失误!Shit !