Forum Discussion

Jaybo's avatar
Jaybo
Icon for Nimbostratus rankNimbostratus
Aug 10, 2017

iRule to re-write headers & responses in both directions

hi all, hoping someone can point me in the right direction as this is hopefully a simple request.

 

i need to fully mask an intranet site as a totally different URL to avoid rolling out hosts files to everyone :)

 

the intranet site we're proxying is a 50/50 mix of "intranet.company.local" and "intranet.company.com" links, but in our environment those 2 DNS entries resolve to something entirely different, so i need to front-end it with something like "new-intranet.newcompany.local"

 

could quite happily run 2 DNS entries (eg: translate intranet.company.local to new-intranet.newcompany.local, and intranet.company.com to intranet.newcompany.com) but i just need to make sure all the content coming back to the clients is re-written so the links on the page appear correctly.

 

is this possible? :)

 

thanks!