[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] make wget connect to a given IP/vhost?

From: Tom Mizutani
Subject: Re: [Bug-wget] make wget connect to a given IP/vhost?
Date: Tue, 7 Sep 2010 23:05:02 +0900


If you really believe that "www.example.com" is a virtual server,  I
suggest to specify the host with "--header" command line option, as

wget  --header 'Host: www.example.com'
wget  --header 'Host: www.example.com'

I hope this works.

2010/9/7 Tomasz Chmielewski <address@hidden>:
> I'm running a geo-ip web cache system.
> Assuming I have a www.example.com domain configured, DNS replies with a
> different IP, depending on who asks (i.e. location in US would get a
> address, location in Europe would get a address, and so on).
> Now, I'd like to monitor if each of the caches replies with correct content
> (i.e. a given page contains a given string).
> c
> Can I somehow make wget connect to a given remote IP and fetch a given
> vhost?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]