Forum Discussion
Parveez_70209
Nimbostratus
Oct 25, 2014'OR' logic between Daga-Groups present in Irule
Hi Team,
Query related to the below Irule:
dg_glob_blocks_starts_with and dg_lenovo_mgd_url_blocks are data groups, we wanted to have 'OR' logic between them, will || work ?
2.If point 1. is cor...
Parveez_70209
Nimbostratus
Oct 27, 2014Hi All,
Still showing error, kindly guide:
when HTTP_REQUEST priority 500 { if {[class match [HTTP::uri] contains dg_glob_block_contains]}{ HTTP::redirect "http://www.lenovo.com" } elseif {[class match [HTTP::uri] starts_with dg_glob_blocks_starts_with] || [class match [HTTP::uri] starts_with dg_lenovo_mgd_url_blocks]} HTTP::respond 302 Location "http://www.lenovo.com"
log local0. " redirected to http://www.lenovo.com" return
}
Thanks and Regards Parveez
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