Forum Discussion
Vova_1985_18320
May 28, 2015Nimbostratus
iRule based on domain
Hi im looking for a way to accept traffic with * expression, is it possible?
when HTTP_REQUEST {
if { [string tolower [HTTP::host]] eq "*.example.com*"} {
pool $HTTP_pool
} el...
Vova_1985_18320
Nimbostratus
I get syntax error:
01070151:3: Rule [/Common/Origin] error: /Common/Origin:19: error: [Duplicate event/priority][when HTTP_REQUEST { if { [HTTP::header exists Origin] } {set origin_host [HTTP::header Origin]} }]
PeteWhite
May 28, 2015Employee
i'm able to load it on my lab box OK. Is it part of a larger iRule that already uses the HTTP_REQUEST event? Maybe you can post or send me the whole Origin iRule.
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