Forum Discussion
A_Cline_27195
Nimbostratus
Jan 12, 2006Changing outgoing HTML with an iRule
I posted this in the wrong area at first. So here goes again...
I'm so new to BigIP and F5 that it hurts, so please excuse my lack of BigIP/F5 vernacular.
Application runs on Tomcat.
BigIP is our Client SSL endpoint.
We have a poorly written in-house application that sends out a HTML page with a badly formed definition on all its pages. The BASE HREF tells the client that all connections come from HTTP rather than HTTPS. Is there someway I can use an iRule to "Search and Replace" outgoing HTML and change any references to 'http://' to 'https://'?
I know this is ugly, but I'm wondering if its possible and hopefully get some newbie-type pointers to get me going.
Thanks,
Aaron
- If all you want to do is to replace "http://" with "https://" in your response data, then it's fairly easy to do. A regsub call would be the easiest to code but probably the worst performance wise.
- A_Cline_27195
Nimbostratus
I looked at this last night from home with the intent of revisiting it this morning. Now it appears the server with the link is down. Do you have any idea if it will be coming back soon? - Thanks for the notice, it should be back now.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects