<[EMAIL PROTECTED]> wrote:
> Why can't I download it with wget?
> 
> [root@wakko /root]# wget http://perl.apache.org/dist/mod_perl-1.24_01.tar.gz
> --15:56:47--  http://perl.apache.org:80/dist/mod_perl-1.24_01.tar.gz
>            => `mod_perl-1.24_01.tar.gz'
> Connecting to perl.apache.org:80... connected!
> HTTP request sent, awaiting response... 403 Forbidden
> 15:56:47 ERROR 403: Forbidden.

It looks to me like perl.apache.org is explicitly blocking wget
requests.  If I do the request manually with netcat, sending the same
headers wget sends, it fails:

GET /index.html HTTP/1.0
User-Agent: Wget/1.5.3
Host: perl.apache.org:80           
Accept: */* 

returns

HTTP/1.1 403 Forbidden
Date: Wed, 18 Oct 2000 13:49:26 GMT
Server: Apache/1.3.15-dev (Unix) tomcat/1.0
Connection: close
Content-Type: text/html; charset=iso-8859-1

while, if I just change the string Wget to Blah, then it works.

-- 
Roger Espel Llima, [EMAIL PROTECTED]
http://www.iagora.com/~espel/index.html

Reply via email to