trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Turner <...@apple.com>
Subject faking host headers
Date Thu, 26 Apr 2012 22:16:48 GMT
Hi all,

Leif, we spoke yesterday in IRC about this but I wanted to follow up.  You mentioned faking
the host headers (which we can do with curl) to load the cache with the vip address on both
the independent real traffic servers.

Doing this, I could only get 404 results, and it never seemed to actually fetch from the origin.

$ curl -H "Host: <real_ats_server> -o /dev/null http://<ats server vip>/path_to_cache

If I removed the "Host: <real ats server>" component, it works.

Am I missing something? :)

Thanks,

Mikey


Mime
View raw message