Tom Mizutani <[email protected]> writes: > If you really believe that "www.example.com" is a virtual server, I > suggest to specify the host with "--header" command line option, as > follows: > > wget http://1.1.1.1/ --header 'Host: www.example.com' > wget http://2.2.2.2/ --header 'Host: www.example.com'
That is exactly the way to do it, and has worked perfectly for me in the past (in fact, supporting this was an important use case when the --header feature was last revamped). Improvements as to how to make this more apparent in the manual would be most welcome.
