bug-wget
[Top][All Lists]
Advanced

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

Re: [Bug-wget] how to discriminate virtual hosts


From: Micah Cowan
Subject: Re: [Bug-wget] how to discriminate virtual hosts
Date: Thu, 15 Jan 2009 16:53:56 -0800
User-agent: Thunderbird 2.0.0.18 (X11/20081125)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Giacomo Lacava wrote:
> Hi,
> I'm trying to use wget to retrieve the content of a virtual host, without
> downloading anything from others even if they are behind a redirect.
> 
> This doesn't seem to be possible at the moment; even if I use -D and specify 
> the
> subdomain (e.g. www.mysite.com), redirects will be followed to other 
> subdomains
> (e.g. store.mysite.com) as long as it's on the same machine.
> 
> Do I understand correctly? 
> Is there any way for the -D option to actually filter on the provided hostname
> rather than on the resolved IP, not discarding the subdomain?

It doesn't discard the subdomain; your problem is actually that
redirects are currently always unconditionally followed (hostname
matching and such aren't performed on them).

We do plan to address this at some point, but it's not one of our
largest priorities.

- --
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer.
GNU Maintainer: wget, screen, teseq
http://micah.cowan.name/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAklv2qQACgkQ7M8hyUobTrGkzgCZARZPuiRyE6yCDceTbEGAi4Ij
Q3EAni9D82Og6q7TJ70Udu6WKsv71Jd5
=sVix
-----END PGP SIGNATURE-----





reply via email to

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