coffee_cn

博客园 首页 新随笔 联系 订阅 管理

2013年3月8日 #

摘要: /etc/httpd/conf/httpd.confListen 7002NameVirtualHost *:7002<VirtualHost *:7002> ServerName 192.168.168.231:7002 ProxyRequests Off <Proxy *> Order deny,allow Allow from all </Proxy> ProxyPass / http://192.168.168.132:8089/ ProxyPassReverse / http://192.168.168.132:8089/</VirtualH 阅读全文
posted @ 2013-03-08 16:51 coffee 阅读(1788) 评论(0) 推荐(0) 编辑

摘要: -- apache 配置<VirtualHost *:80> ServerName www.mydomain.com ProxyRequests Off <Proxy *> Order deny,allow Allow from all </Proxy> ProxyPass / http://192.168.168.132:8089/ ProxyPassReverse / http://192.168.168.132:8089/</VirtualHost>-- 访问 http://www.mydomain.com/ 出现错误信息Service T 阅读全文
posted @ 2013-03-08 16:49 coffee 阅读(5085) 评论(0) 推荐(0) 编辑

摘要: 错误信息Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain for ServerName[Fri Mar 08 16:28:42 2013] [warn] NameVirtualHost *:7002 has no VirtualHosts(13)Permission denied: make_sock: could not bind to address [::]:7002(13)Permiss 阅读全文
posted @ 2013-03-08 16:32 coffee 阅读(275) 评论(0) 推荐(0) 编辑

摘要: 把 7001端口转发到 192.168.168.132:8089 上# iptables -t nat -I PREROUTING -p tcp --dport 7001 -j DNAT --to 192.168.168.132:8089# iptables -t nat -I POSTROUTING -p tcp -d 192.168.168.132 --dport 8089 -j MASQUERADE# /etc/rc.d/init.d/iptables save# /etc/rc.d/init.d/iptables restart# echo 1 > /proc/sys/net/i 阅读全文
posted @ 2013-03-08 13:52 coffee 阅读(287) 评论(0) 推荐(0) 编辑