Re: *** Workaround found ! *** (was: Hostname bug in wget ...)
[EMAIL PROTECTED] writes: > I found a workaround for the problem described below. > > Using option -nh does the job for me. > > As the subdomains mentioned below are on the same IP > as the "main" domain wget seems not to compare their > names but the IP only. I believe newer versions of Wget don't do that anymore. At the time Wget was originally written, DNS-based virtual hosting was still in its infancy. Nowadays almost everyone does it, so what used to be `-nh' became the default. Either way, thanks for the report.
*** Workaround found ! *** (was: Hostname bug in wget ...)
Hi, I found a workaround for the problem described below. Using option -nh does the job for me. As the subdomains mentioned below are on the same IP as the "main" domain wget seems not to compare their names but the IP only. If you need more info please let me know. Have a nice weekend ! Regards Klaus --- Forwarded message follows --- From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date sent: Thu, 4 Sep 2003 12:53:39 +0200 Subject:Hostname bug in wget ... Priority: normal ... or a silly sleepless webmaster !? Hi, Version == I use the GNU wget version 1.7 which is found on OpenBSD Release 3.3 CD. I use it on i386 architecture. How to reproduce == wget -r coolibri.com (adding the "span hosts" option did not improve) Problem category = There seems to be a problem with prepending wrong hostnames. Problem more detailed Between fine GETs there are lots of 404s caused by prepending wrong hostnames. That website consists of several parts distributed on several "subdomains". coolibri.com cpu-kuehler.coolibri.com luefter.coolibri.com etc. Example: = wget tries to get files that are located on "cpu-kuehler.coolibri.com" but does not prepend "cpu-kuehler.coolibri.com" but "coolibri.com" only. Instead of (correct) http://cpu- kuehler.coolibri.com/80_Kuehler_Grafik_Grafikkarte_/80_kuehler_grafik_ grafikkarte_ .html it tries (incorrect) http://coolibri.com/80_Kuehler_Grafik_Grafikkarte_/80_kuehler_grafik_g rafikkarte_.h tml Tried my best not to waste your time - but some lack of sleep during last week was not really helpful ;-) Best regards Klaus --- End of forwarded message ---