On Sun, Nov 17, 2013 at 4:05 PM, Kevin Day kevin@your.org wrote:
My apologies, I broke the redirect when adding IPv6 support to the rule.
This should work now!
LGTM. (looks good)
-Jeremy
$ for i in ipv{4,6}; do echo "$i:"; curl -vsL --"$i" http://ftpmirror.your.org/pub/wikimedia/dumps/rsync-dirlist-last-1-good.txt 2>&1 >/dev/null | egrep -e '^< HTTP/1' -e '^< Location: ' -e $'^* (Connected to |Issue another request to this URL:|getaddrinfo(3) failed for|Couldn't resolve host)'; done ipv4: * Connected to ftpmirror.your.org (204.9.55.82) port 80 (#0) < HTTP/1.1 301 Moved Permanently < Location: http://dumps.wikimedia.your.org/rsync-dirlist-last-1-good.txt * Issue another request to this URL: 'http://dumps.wikimedia.your.org/rsync-dirlist-last-1-good.txt' * Connected to dumps.wikimedia.your.org (204.9.55.82) port 80 (#1) < HTTP/1.1 200 OK ipv6: * Connected to ftpmirror.your.org (2001:4978:1:420::cc09:3752) port 80 (#0) < HTTP/1.1 301 Moved Permanently < Location: http://dumps.wikimedia.your.org/rsync-dirlist-last-1-good.txt * Issue another request to this URL: 'http://dumps.wikimedia.your.org/rsync-dirlist-last-1-good.txt' * Connected to dumps.wikimedia.your.org (2001:4978:1:420::cc09:3752) port 80 (#1) < HTTP/1.1 200 OK