Forum Discussion
Jerel_Ware_4263
Nimbostratus
Jan 18, 2010An interesting discovery...
The following iRule passes validation in the Web UI and the iRule editor, but causes the command line parser to fail load verifcation (and sync):
when HTTP_RESPONSE {
if { [HTT...
hoolio
Cirrostratus
Jan 18, 2010Hi Jerel,
There is an issue (which I thought was fixed by 9.4.7) described in SOL7988 (Click here) where iRule validation done by the CLI is more strict than the GUI. But that issue would occur if you didn't have any double quotes around the // in http:// or https://.
Does the problem occur with the example you've posted where the http:// and https:// are in double quotes wrapped with curly braces? If so, I'd suggest you open a case with F5 Support to document the problem.
I checked on 9.4.8 and didn't see the issue with a simple test rule:
when HTTP_RESPONSE {
set test [string map {"http://" "https://"} "http://test"]
set test2 [string map "http:// https://" "http://test"]
}
b verify load
Reading configuration from /defaults/config_base.conf.
Reading configuration from /config/bigip_base.conf.
Reading configuration from /config/bigip_sys.conf.
Reading configuration from /usr/bin/monitors/builtins/base_monitors.conf.
Reading configuration from /config/profile_base.conf.
Reading configuration from /config/daemon.conf.
Reading configuration from /config/bigip.conf.
Reading configuration from /config/bigip_local.conf.
Validating the configuration ...
No problems found.
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
