Apache ProxyPass不起作用

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 !

猜你喜欢

转载自blog.csdn.net/zhouyingge1104/article/details/109372237