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

problems with ftp server via http...



I'm getting 404-not found for a file that really exists on the server.
perhaps a broken configuration?

please compare the traces below.
Regards
	giuseppe

$ curl -v -s -o /dev/null http://ftp.debian.org/dists/squeeze/main/binary-i386/Packages.gz
| * About to connect() to ftp.debian.org port 80 (#0)
| *   Trying 130.89.148.12... connected
| * Connected to ftp.debian.org (130.89.148.12) port 80 (#0)
| > GET /dists/squeeze/main/binary-i386/Packages.gz HTTP/1.1
| > User-Agent: curl/7.21.0 (i486-pc-linux-gnu) libcurl/7.21.0 OpenSSL/0.9.8o zlib/1.2.3.4 libidn/1.15 libssh2/1.2.6
| > Host: ftp.debian.org
| > Accept: */*
| > 
| < HTTP/1.1 404 Not Found
| < Date: Tue, 22 Nov 2011 18:07:05 GMT
| < Server: Apache
| < Vary: Accept-Encoding
| < Content-Length: 304
| < Content-Type: text/html; charset=iso-8859-1
| < 
| { [data not shown]



$ curl -v -s -o /dev/null http://ftp.debian.org/dists/squeeze/main/binary-i386/Packages.gz
| * About to connect() to ftp.debian.org port 80 (#0)
| *   Trying 130.89.149.226... connected
| * Connected to ftp.debian.org (130.89.149.226) port 80 (#0)
| > GET /dists/squeeze/main/binary-i386/Packages.gz HTTP/1.1
| > User-Agent: curl/7.21.0 (i486-pc-linux-gnu) libcurl/7.21.0 OpenSSL/0.9.8o zlib/1.2.3.4 libidn/1.15 libssh2/1.2.6
| > Host: ftp.debian.org
| > Accept: */*
| > 
| < HTTP/1.1 200 OK
| < Date: Tue, 22 Nov 2011 18:07:10 GMT
| < Server: Apache
| < Last-Modified: Sat, 08 Oct 2011 10:44:16 GMT
| < ETag: "969c7b-83beeb-4aec73d3d6000"
| < Accept-Ranges: bytes
| < Content-Length: 8634091
| < Content-Type: application/x-gzip
| < 
| { [data not shown]


Reply to: