Forum Discussion

Luis_Valle_5601's avatar
Luis_Valle_5601
Icon for Nimbostratus rankNimbostratus
Jan 14, 2011

F5 can modify html content

Hi everybody,

 

 

In our enterprise has an irule who change the original. For example if F5 recieved a request like https://acbc.com.mx/1234 the irule change the HTTP::header host like this https://acbc.com.mx:9090/1234 and send the request to a IHS server. Then in the response connection the irule remove the 9090 port and send the packet to the web browser.

 

 

The question is, if F5 can modify the html content, por example if the html content response like this https//acbc.com.mx:9090/1234/image/banner.jpg F5 can modify that information and send the packet like this https://acbc.com.mx/1234/image/banner.jpg.

 

 

If F5 can do this, how can i modify the iRule??

 

 

Thanks!
  • You can use either the ProxyPass (v9.x) or ProxyPassV10 rules for this:

     

     

    http://devcentral.f5.com/wiki/default.aspx/iRules/ProxyPass

     

    http://devcentral.f5.com/wiki/default.aspx/iRules/ProxyPassV10

     

     

    Aaron