Re: can't wget http://www.unix.org.ua/orelly/perl/perlnut/ch18_01.htm

2005-10-30 Thread Noam Meltzer
I had a hunch. turned out to be correct.
It is filtering the wget user agent ID.
try:
wget -U "Mozilla" http:...

On 10/30/05, David Harel <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> When I browse http://www.unix.org.ua/orelly/perl/perlnut/ch18_01.htm
> it's OK but I can't wget it. I get Forbidden. Why?
>
> My wget statement:
> wget -r -nH --no-parent --convert-links \
>http://www.unix.org.ua/orelly/perl/perlnut/ch18_01.htm
>
>
> --
> Thanks.
>
> David Harel,
>
> ==
>
> Home office +972 77 4422234
> Fax:+972 77 4422234
> Cellular:   +972 54 4534502
> Snail Mail: Amuka
>  D.N Merom Hagalil
>  13802
>  Israel
> Email:  [EMAIL PROTECTED]
>
>
> =
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
>
>

To unsubscribe, 
send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: can't wget http://www.unix.org.ua/orelly/perl/perlnut/ch18_01.htm

2005-10-30 Thread Hetz Ben Hamo
I had that few months ago.
they do a simple check if you're using wget to grab pages. If you do,
then they block you.
If you add to your parameters: -U Lynx
then you'll get the pages just fine.

Thanks,
Hetz

On 10/30/05, David Harel <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> When I browse http://www.unix.org.ua/orelly/perl/perlnut/ch18_01.htm
> it's OK but I can't wget it. I get Forbidden. Why?
>
> My wget statement:
> wget -r -nH --no-parent --convert-links \
>   http://www.unix.org.ua/orelly/perl/perlnut/ch18_01.htm
>
>
> --
> Thanks.
>
> David Harel,
>
> ==
>
> Home office +972 77 4422234
> Fax:+972 77 4422234
> Cellular:   +972 54 4534502
> Snail Mail: Amuka
> D.N Merom Hagalil
> 13802
> Israel
> Email:  [EMAIL PROTECTED]
>
>
> =
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
>
>

To unsubscribe, 
send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: can't wget http://www.unix.org.ua/orelly/perl/perlnut/ch18_01.htm

2005-10-30 Thread Ilya Konstantinov
On א', 2005-10-30 at 15:37 +0200, David Harel wrote:
> Hi all,
> 
> When I browse http://www.unix.org.ua/orelly/perl/perlnut/ch18_01.htm 
> it's OK but I can't wget it. I get Forbidden. Why?

Cause wget's User Agent is blocked. 

Try:
wget --user-agent-string="Mozilla/5.001 (windows; U; NT4.0; en-us)
Gecko/25250101" http://fobar

To unsubscribe, 
send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



can't wget http://www.unix.org.ua/orelly/perl/perlnut/ch18_01.htm

2005-10-30 Thread David Harel

Hi all,

When I browse http://www.unix.org.ua/orelly/perl/perlnut/ch18_01.htm 
it's OK but I can't wget it. I get Forbidden. Why?


My wget statement:
wget -r -nH --no-parent --convert-links \
  http://www.unix.org.ua/orelly/perl/perlnut/ch18_01.htm


--
Thanks.

David Harel,

==

Home office +972 77 4422234
Fax:+972 77 4422234
Cellular:   +972 54 4534502
Snail Mail: Amuka
D.N Merom Hagalil
13802
Israel
Email:  [EMAIL PROTECTED]


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]