Forum Discussion

JC_BW's avatar
JC_BW
Icon for Nimbostratus rankNimbostratus
Nov 28, 2016

rewite host in web reply header and body

Hello,

 

I'm trying to use the ProxyPass iRule to rewrite host in links when the server responses to the client.

 

Right now I've got it working to I've got it working for pages on the same server, but links to other servers break.

 

Example Clients requests abc.xyz.com and this is changed to abc.xyz.internal.com. - this works The problem arises when the server responds with a link to def.xyz.internal.com.

 

Ideally what I need is any request from external to be updated with the internal domain and any replies (including links in pages) from the servers to have the internal domain removed.

 

No RepliesBe the first to reply