DB
May 11, 2007Nimbostratus
Can iRule be used to modify HTML code itself being passed?
Can iRules be used to modify the contents of an HTML page being returned to a client HTTP request? For example, if HTML page includes any link that begins with "http://images.dot.com/*" change it to "https://images.dot.com/*". I have an application that's too dumb to send the links back as HTTPS for images on a page, so my users get the "This page contains secure and unsecure items, are you sure you want to see the unsecure..." warning message.
BTW, I'm already doing a HTTP to HTTPS redirect so that if the user does try to his the HTTP://images... link they'll get it, but it's the warning about mixed content I'm trying to alter.