Hello!
To be able to use the referer switch, you must have a new version of
wget - I'm not sure, if 1.6 is enough, 1.7 certainly is enough and 1.5.3
is not enough.(Get more info's from http://wget.sunsite.dk)
The switch is --referer=URL
Try to use it with the -d (debug) switch to see, that it works.
For example:
wget -d --referer=http://wget.sunsite.dk/wgetdev.html http://www.gnu.org
Of course, adjust it to suit your needs. (And you can put this setting in
your wgetrc file, if you want -just omit the "--".)
Kind regards
Jan Hnila
P.S. The advice suggested by Jens is actually something different - it is
the identity of your "browser" - it lets you pretend, that
you are not "wget", but for example Netscape:
For example:
--user-agent="Mozilla/4.72 [en] (X11; U; Linux 2.2.17 i686)"
or
--user-agent="Mozilla/4.0 (compatible; MSIE 4.01; Mac_PowerPC)"
--user-agent=AGENT //(AGENT is the string you would like to be identified as)