Forum Discussion
Dave_20275
Nimbostratus
Nov 21, 2007Config Sync issues surrounding iRule
HELP
I come form a Nortel/Alteon background and am very new to the use of iRules and am experiencing some issue when using a canned 404 file not found handler from the Devcentral iRule code share...
hoolio
Cirrostratus
Nov 21, 2007Hi Dave,
This looks like an issue described in CR73005, where un-escaped metacharacters in a rule are allowed per GUI or iRuler validation, but break the parsing of the bigip.conf file when it is loaded (as during a config sync). You should get an error or experience the same issue on the BIG-IP you're synching from, if you try to reload the config.
To get your rule to work on 9.4.3, I escaped the double quotes with a backslash and then wrapped the HTML in two un-escaped doublequotes:
set error_404 {"
"}This allowed me to save and reload the rule. Don't ask why the outside double quotes worked... I haven't a clue.
I'd suggest you open a case with support on this, as the validation done when adding rules should match what the parser can handle.
Thanks,
Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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