Chinaunix

标题: 使用逆向代理之后,网页不能正常浏览 [打印本页]

作者: shaka202    时间: 2013-05-17 11:23
标题: 使用逆向代理之后,网页不能正常浏览
IE9能正常显示,Firefox和Chrome却显示HTML源码。

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="X-UA-Compatible" content="IE=edge" ></head><body>List of consoles <br><a href="win5901/fb">win5901/fb</a><br><a href="redhat5902/fb">redhat5902/fb</a><br><a href="test5905/tty">test5905/tty</a><br></body></html>

逆向代理设置如下:

SSLProxyEngine On
SSLProxyVerify none
ProxyPass /console/ https://192.168.0.14:10080/console/
ProxyPassReverse /console/  https://192.168.0.14:10080/console/
作者: webdna    时间: 2013-05-17 11:43

神奇了。。。。。。。。。。
作者: shaka202    时间: 2013-05-17 11:52
本帖最后由 shaka202 于 2013-05-17 11:55 编辑

回复 2# webdna

IE10的话,用兼容模式能正常显示

直接访问服务器的话,IE10,Chrome,Firefox都可以正常显示,添加了逆向代理之后就不行了
作者: webdna    时间: 2013-05-18 18:15
proxy.conf
有问题?
作者: 方兆国    时间: 2013-05-18 18:27
本帖最后由 方兆国 于 2013-05-18 18:29 编辑
shaka202 发表于 2013-05-17 11:23
IE9能正常显示,Firefox和Chrome却显示HTML源码。

List of consoles win5901/fbredhat5902/fbtest5905/t ...


配置文件可以看一下么?
作者: 我愿为你匍匐一生    时间: 2024-02-03 08:01
提示: 作者被禁止或删除 内容自动屏蔽




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2