[code=INIFile]
<VirtualHost xxx.xxx.xxx.xxx>
ProxyPass / http://localhost:8080/news
ProxyPassReverse / http://localhost:8080/news
ServerName www.abc.com
</VirtualHost>
[/code]安装了APACHE和Tomcat,其中http://localhost:8080/news是Tomcat的访问地址,现在httpd.conf中,配置虚拟主机如上,可以正常访问,但存在一个问题。就是获取request信息的时候,获取的是转向后的。请问如何获取?
<VirtualHost xxx.xxx.xxx.xxx>
ProxyPass / http://localhost:8080/news
ProxyPassReverse / http://localhost:8080/news
ServerName www.abc.com
</VirtualHost>
[/code]安装了APACHE和Tomcat,其中http://localhost:8080/news是Tomcat的访问地址,现在httpd.conf中,配置虚拟主机如上,可以正常访问,但存在一个问题。就是获取request信息的时候,获取的是转向后的。请问如何获取?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货