WebPagetest Forums
rewrite part of url - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: Web Performance (/forumdisplay.php?fid=3)
+--- Forum: Testing Tools/Services (/forumdisplay.php?fid=6)
+--- Thread: rewrite part of url (/showthread.php?tid=12968)



rewrite part of url - pmsangal - 05-13-2014 08:23 PM

Is it possible to rewrite part of url, using a script?

http://www.webpagetest.org/result/140513_1E_D0E/1/details/

For example, in https://www.yahoo.com, there's a resource https://s1.yimg.com/kx/yucs/uh3/uh/js/47/ai.min.js
I'd like to script the test so I can pull this resource from
https://ucs.zenfs.com/yucs/uh3/uh/js/47/ai.min.js


RE: rewrite part of url - pmeenan - 05-15-2014 12:40 AM

Sorry, nothing that fancy. It can do domain rewriting so you can have s1.yimg.com point to ucs.zenfs.com but you'd need the rest of the path to be the same.