apache ajp_proxy使用ProxyPassReverse 反向代理无效
原httpd.conf
ProxyPass /myweb ajp://127.0.0.1:9000/
ProxyPassReverse /myweb/ ajp://127.0.0.1:9000/
结果:
用http://127.0.0.1/myweb 访问,所有的图片、css、js无效,原因是ProxyPassReverse 在ajp下无效
修改后:
ProxyPass /myweb http://127.0.0.1:9000/
ProxyPassReverse /myweb / http://127.0.0.1:9000/
相关推荐
carolAnn 2020-04-26
登峰小蚁 2020-04-15
stoneechogx 2020-01-09
yongzhang 2020-01-06
sarsgetaway 2013-06-01
iamlihongwei 2014-05-14
大白配小猪 2019-12-06
dongliwei 2017-08-01
sunshinegyy 2011-08-27
hedongli 2011-05-18
jinhonglu 2010-12-24
backlu 2010-04-19
strburnchang 2015-04-03
panyingdao 2014-09-04
bxqybxqy 2012-09-05
bxqybxqy 2012-08-24
hanwentan 2012-06-18
bxqybxqy 2012-05-18
Junzizhiai 2012-01-10