image.xx.com 通过haproxy 跳转到内部图片服务器
<pre name="code" class="html">http://www.hyyche.com/#main C:\Users\Administrator>ping hyyche.com 正在 Ping hyyche.com [114.55.185.26] 具有 32 字节的数据:
来自 114.55.185.26 的回复: 字节=32 时间=7ms TTL=45 114.55.185.26 的 Ping 统计信息:
数据包: 已发送 = 1,已接收 = 1,丢失 = 0 (0% 丢失),
往返行程的估计时间(以毫秒为单位):
最短 = 7ms,最长 = 7ms,平均 = 7ms
Control-C
^C
C:\Users\Administrator>ping image.hyyche.com
Ping 请求找不到主机 image.hyyche.com。请检查该名称,然后重试。 haproxy 配置; # redirect scheme https if !{ ssl_fc }
acl host_static hdr_beg(host) -i image. video. down
use_backend webserver_test if host_static http://image.hyyche.com//images//webbanner/20151228101039b79c3f60f74c4d68be1ea0b9c668f532.jpg?version=1470484416110 此时不行:
[root@hy-haproxy ~]# wget http://image.hyyche.com//images//webbanner/20151228101039b79c3f60f74c4d68be1ea0b9c668f532.jpg?version=1470484416110
--2016-08-08 19:09:36-- http://image.hyyche.com//images//webbanner/20151228101039b79c3f60f74c4d68be1ea0b9c668f532.jpg?version=1470484416110
Resolving image.hyyche.com... failed: Name or service not known.
wget: unable to resolve host address ?.mage.hyyche.com? [root@hy-haproxy ~]# wget http://image.hyyche.com//images//webbanner/20151228101039b79c3f60f74c4d68be1ea0b9c668f532.jpg?version=1470484416110
--2016-08-08 19:21:14-- http://image.hyyche.com//images//webbanner/20151228101039b79c3f60f74c4d68be1ea0b9c668f532.jpg?version=1470484416110
Resolving image.hyyche.com... 114.55.185.26
Connecting to image.hyyche.com|114.55.185.26|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 911926 (891K) [image/jpeg]
Saving to: ?.0151228101039b79c3f60f74c4d68be1ea0b9c668f532.jpg?version=1470484416110.1? 100%[================================================================================================================================================================>] 911,926 1.16M/s in 0.7s 2016-08-08 19:21:15 (1.16 MB/s) - ?.0151228101039b79c3f60f74c4d68be1ea0b9c668f532.jpg?version=1470484416110.1?.saved [911926/911926] hyyche.com和image.hyyche.com指向同一个地址
image.xx.com 通过haproxy 跳转到内部图片服务器的更多相关文章
- 奇怪的haproxy 跳转
<pre name="code" class="html">奇怪的Haproxy 跳转: acl admin_req path_beg -i /ad ...
- 跨越多台haproxy 跳转
<pre name="code" class="python">在zjtest5环境的haproxy上配置: 需要 访问acl host_zjcap ...
- MVC不用302跳转Action,内部跳转
原理,在一个Action里面return 另一个Action出去. public class HomeController : Controller { // GET: Home public Act ...
- HAProxy负载均衡保持客户端和服务器Session亲缘性的3种方式
1 用户IP 识别 haroxy 将用户IP经过hash计算后 指定到固定的真实服务器上(类似于nginx 的IP hash 指令) 配置指令: balance source 配置实例: backe ...
- servlet跳转页面后图片不显示
我是用图片的相对路径,原先直接打开jsp的话图片是可以正常显示的,通过servlet跳转之后图片就显示不出来了 后来发现是图片路径的问题, 我是将图片放在WebRoot里面自己创建的img中,原先图片 ...
- jsp跳转不成功,服务器也不报错,登录页面点击登录没反应,代码如下,请韭菜园子的工友给予指导!
登录后.. 根本跳不到这个检查页面.. 这个登录成功页面也就无从谈起了!
- java 页面错误转发提示页面 errorPage转跳报HTTP500内部服务器错误
errorPage和isErrorPage本来是很简单的功能,但是我却没弄出来,还百度了半天,结果发现是IE的设置问题.将下图中的“Show friendly HTTP error messages( ...
- Visual Studio Code 断点调试Nodejs程序跳过node内部模块(internal modules)
Built-in core modules of Node.js can be referred to by the ‘magic name’ <node_internals> in a ...
- 搭建Nginx图片服务器
搭建Nginx图片服务器 Part-I 安装Nginx 安装PCRE 下载 ngx_cache_purge 并解压,用来清除缓存 下载Nginx并解压 cd nginx-1.7.7 编译,--pref ...
随机推荐
- mysql学习(八)数据表类型-字符集
数据存储引擎: MyISAM:强化快速读取操作. 也有缺点.一些功能不支持 InnoDB:支持一些MyIASM一些不支持的功能 缺点:占用空间大 对比 ...
- Sublime Text2使用技巧
推荐Lucifr和JerryQu的几篇博文: Sublime Text 2 入门及技巧 via: http://lucifr.com/139225/sublime-text-2-tricks-and- ...
- 关于Nexus 7的Usb host开发问题
按照API Guides和搜索到的各种方法,都没办法把Nexus 7上面的USB 设备列举出来.使用市场上的软件依然不行. 在找demo的时候找到一位大神chainfire,他似乎有所解释 看来得换一 ...
- C++ Primer第四版 15.9 再谈文本查询 程序实现
编程过程中发现书本中的示例程序并不完全,某些地方存在错误,现已改正并添加少许注释.. 1 #include<iostream> 2 #include<fstream> #inc ...
- TensorFlow 深度学习笔记 逻辑回归 实践篇
Practical Aspects of Learning 转载请注明作者:梦里风林 Github工程地址:https://github.com/ahangchen/GDLnotes 欢迎star,有 ...
- CC++初学者编程教程(4) 安装Oracle12c于Windows Sever2012
我们开启虚拟机 Windows Sever2012启动中. 3.看到WindowsSever2012的桌面. 我们解压缩两个文件, winx64_12c_database_1of2.zip,winx6 ...
- 普林斯顿大学算法课 Algorithm Part I Week 3 比较器 Comparators
比较器接口(Comparator interface):用可选顺序(alternate order)进行排序 public interface Comparator<key> int co ...
- 基于Schema的AOP 配置使用详解
原文地址:http://jinnianshilongnian.iteye.com/blog/1418598 基于Schema的AOP从Spring2.0之后通过"aop"命名空间来 ...
- CodeForces 540B School Marks(思维)
B. School Marks time limit per test 2 seconds memory limit per test 256 megabytes input standard inp ...
- ASP.NET MVC 学习之路-1
本文在于巩固基础 学习参考书籍:ASP.NET MVC4 Web编程 首先确定我们学习MVC的目标: 我们学习ASP.NET MVC的目的在于开发健壮的.可维护的Web应用,当然这需要一定的知识基础, ...