免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2436 | 回复: 6
打印 上一主题 下一主题

虚拟机能不能跟反向代理共存? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-04-16 18:56 |只看该作者 |倒序浏览
  1. <VirtualHost 218.18.107.69>;
  2. DocumentRoot /opt/lampp/htdocs/
  3. ServerName pcux.com
  4. DirectoryIndex index.html index.php
  5. ErrorLog logs/pcux.com-err_log
  6. CustomLog logs/pcux.com common

  7. </VirtualHost>;

  8. <VirtualHost 218.18.107.69>;
  9. DocumentRoot /home/httpd/html/
  10. DirectoryIndex index.html index.php
  11. ErrorLog logs/25u.net-err_log
  12. CustomLog logs/25u.net common
  13. ServerName 25u.net
  14. </VirtualHost>;
  15. #DocumentRoot /opt/lampp/htdocs/
  16. ProxyPass /www/ http://218.6.140.66/
  17. ProxyPassReverse /www/ http://218.6.140.66/
  18. ProxyPass /m/apache/ http://218.242.49.155/ApacheManual/
  19. ProxyPassReverse /m/apache/ http://218.242.49.155/ApacheManual/
复制代码


反向代理就不能工作了,不知道怎么样才能共存
http://pcux.com/www  不能访问。

论坛徽章:
0
2 [报告]
发表于 2004-04-16 18:58 |只看该作者

虚拟机能不能跟反向代理共存?

error message


  1. Bad Gateway
  2. The proxy server received an invalid response from an upstream server.

复制代码

论坛徽章:
0
3 [报告]
发表于 2004-04-17 13:36 |只看该作者

虚拟机能不能跟反向代理共存?

ding
nozxb 该用户已被删除
4 [报告]
发表于 2004-04-17 16:08 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
5 [报告]
发表于 2004-04-17 16:24 |只看该作者

虚拟机能不能跟反向代理共存?

原帖由 "nozxb" 发表:
</VirtualHost>;

<VirtualHost 218.18.107.69>;
DocumentRoot /home/httpd/html/
DirectoryIndex index.html index.php
ErrorLog logs/25u.net-err_log
CustomLog logs/25u.net common
Serv..........

这个显然不行,你还不明白虚拟机的意思吧。
25u.net是个独立的域名,我不能把人家只指向http://pcux.com/~httpd
nozxb 该用户已被删除
6 [报告]
发表于 2004-04-17 17:06 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽
nozxb 该用户已被删除
7 [报告]
发表于 2004-04-17 17:42 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP