Dear Kevin,
Thanks for your help. I can now see the index.html file (see 1
below). However, I can no longer see the other files in that directory
(see 2 below).
1) index.html
The following
(shell)$ curl --ipv4 --verbose
http://ftpmirror.your.org/pub/wikimedia/dumps/
(shell)$ curl --ipv6 --verbose
http://ftpmirror.your.org/pub/wikimedia/dumps/
now both report
HTTP/1.1 301 Moved Permanently
Location:
http://dumps.wikimedia.your.org/
But the following
(shell)$ curl --ipv4 --verbose --location
http://ftpmirror.your.org/pub/wikimedia/dumps/
(shell)$ curl --ipv6 --verbose --location
http://ftpmirror.your.org/pub/wikimedia/dumps/
follow the redirect and report
HTTP/1.1 200 OK
2) Files
Now, however, I can not get other files from that directory. For
example, the following
(shell)$ curl --ipv4 --verbose
http://ftpmirror.your.org/pub/wikimedia/dumps/rsync-dirlist-last-1-good.txt
(shell)$ curl --ipv6 --verbose
http://ftpmirror.your.org/pub/wikimedia/dumps/rsync-dirlist-last-1-good.txt
both report
HTTP/1.1 301 Moved Permanently
Location:
http://dumps.wikimedia.your.org/r
The rather odd value for "Location" makes it impossible to follow the
redirect. Thus
(shell)$ curl --ipv4 --verbose --location
http://ftpmirror.your.org/pub/wikimedia/dumps/rsync-dirlist-last-1-good.txt
(shell)$ curl --ipv6 --verbose --location
http://ftpmirror.your.org/pub/wikimedia/dumps/rsync-dirlist-last-1-good.txt
report
HTTP/1.1 404 Not Found
Sincerely Yours,
Kent
+------------------------------------------------------------------------+
pub 1024D/359E5142 2008-09-01 GPG key available on
pgpkeys.mit.edu
Key fingerprint = 8D4F 4485 7F7D 5406 230C 9749 B821 2572 359E 5142
uid Dr. Kent L. Miller <kent.l.miller(a)alumni.cmu.edu>
+------------------------------------------------------------------------+
On Sat, 16 Nov 2013, Kevin Day wrote:
Nice catch!
That should be fixed now, and sending a 301 redirect on both ipv4 and ipv6.
Several of the pages on the “dumps” collection have hardcoded links that require them to
be in the / (root) directory, so they require their own hostname.
— Kevin
On Nov 16, 2013, at 2:32 PM, Dr. Kent L. Miller <kent.l.miller(a)alumni.cmu.edu>
wrote:
Dear Ariel,
When I compare the following two commands
(shell)$ curl --ipv4 --verbose
http://ftpmirror.your.org/pub/wikimedia/dumps/
(shell)$ curl --ipv6 --verbose
http://ftpmirror.your.org/pub/wikimedia/dumps/
The first reports "HTTP/1.1 301 Moved Permanently"
The second reports "HTTP/1.1 200 OK"
Has anyone else noticed this?
Sincerely Yours,
Kent
+------------------------------------------------------------------------+
pub 1024D/359E5142 2008-09-01 GPG key available on
pgpkeys.mit.edu
Key fingerprint = 8D4F 4485 7F7D 5406 230C 9749 B821 2572 359E 5142
uid Dr. Kent L. Miller <kent.l.miller(a)alumni.cmu.edu>
+------------------------------------------------------------------------+
_______________________________________________
Xmldatadumps-l mailing list
Xmldatadumps-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/xmldatadumps-l