Forum Discussion
Rob_77856
Aug 07, 2011Nimbostratus
iRule that serves HTML content issue with curly brackets
Hello all,
I am working with an iRule that servers up a 200 response and specific HTML content as a sorry server page. This page has to look a certain way which requires specific formatting ...
Ed_Hammond_2611
Aug 07, 2011Nimbostratus
There are multiple Tcl interpreters used by BIG-IP at different times, so you can run into cases where an iRule might load via the command line, or iRule editor, or 'b load' but have issues with another. This may change per TMOS version/hotfix.
The best thing to do it try, try, try again with different variations of the syntax. Watch out for curly braces, square brackets, white space, newlines, single quotes, double quotes, and escape sequences. In combination with the desired output and the interpreter sesitivities, you can probably find an acceptable solution. Once you find something that works, check the other interpretter modes to make sure it is a complete solution.
It can be a pain, but isn't too uncommon when multiple interpreter instances are used.
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