Updated to support new dita docs s3 redirects.