On Sun, Feb 17, 2008 at 10:18:25AM +0100, Carlos Rivera Cordero wrote:
> On 17/02/08 10:48, Anas Husseini wrote: > > wget is receiving a 403 error (Forbidden) when trying to retrieve a special > > web page, while lynx (and other text and graphical web browsers) succeeded to > > get this page. > > > > What may be the cause? > > Your server does not like wget user agent, in fact it works if you tell wget to > use a different one. For example try using Iceweasel user agent, it works: > > wget --user-agent="Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.12) Gecko/20080129 Iceweasel/2.0.0.12 (Debian-2.0.0.12-0etch1)" http://www.unix.org.ua/
Thanks for that! Those 403 errors are a pain, especially when you are
using wget like:
wget -a logfile -i file_with_urls
and you don't notice till you are offline. :-(
--
Chris.
======
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Sun Feb 17 22:41:43 2008
This archive was generated by hypermail 2.1.8
: Mon Mar 17 2008 - 11:25:36 EDT
|