Forum Discussion
Justin_106620
Nimbostratus
May 08, 2017append irule based on source address help
I am in need of an irule to append a uri if your source address is not x.x.x.x The /auth-smartweb redirects you to our adfs for single signon. once authenticated your are brought back to the site....
Hi Jorge,
You can base64 encode the data before saving it to a variable and then use 'HTTP::respond 200 content [b64decode $my_b64_encoded_data]' to send it. This is done in the Maintenance Page examples in the iRule Codeshare:
http://devcentral.f5.com/wiki/default.aspx/iRules/Automatic_maintenance_page___Sorry_page_with_images.html
http://devcentral.f5.com/wiki/default.aspx/iRules/LTMMaintenancePage.html
Aaron
Recent Discussions
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