ys2843 edited a comment on pull request #18457:
URL: https://github.com/apache/incubator-mxnet/pull/18457#issuecomment-637102222


   > how are you testing it
   
   By using speedtest websites which have Chinese server, we can see redirect 
in the result. Test with any one of the following:
   + https://www.boce.com/ (Chinese speed test website, simply copy url to 
test) 
   + https://www.webpagetest.org/ (Choose Beijing as location then test)
   
   I created this host to test the redirect rules, it uses the same rules as 
this PR
   + `http://ec2-34-219-134-42.us-west-2.compute.amazonaws.com/`
   ```
   RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^CN$
   RewriteCond %{HTTP_HOST} !cdn
   RewriteRule ^(.*) https://mxnet.cdn.apache.org%{REQUEST_URI} [R,NC,L]
   ```
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to