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

Re: wget vs lynx



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/

cheers!

Attachment: signature.asc
Description: Digital signature


Reply to: