Forum Discussion
stiassny_88246
Aug 22, 2011Nimbostratus
Help with iRule on LinkController
Hey.
i want to use this iRule in my LinkController.
I want to rule to check if the client that try to go through the machine is from ip address 192.168.1.11 or 192.168.1.10 and if it tries to access the following URL: "http://www.specific-domain.co.il/sub.address/somepage.php"
then it will be directed to a pool called HTTP_pool.
when i try to save the iRule i get to following message:
line 1: [ltm_rule_L7 feature not licensed] [when HTTP_REQUEST {
line 6: [ltm_rule_L7 feature not licensed] [HTTP::host]
line 6: [ltm_rule_L7 feature not licensed] [HTTP::uri]
line 7: [ltm_rule_L7 feature not licensed] [HTTP::host]
line 7: [ltm_rule_L7 feature not licensed] [HTTP::uri]
when HTTP_REQUEST {
set clientip [IP::client_addr]
set pool "HTTP_pool"
set httphost "www.specific-domain.co.il"
set base_uri "/sub.address/somepage.php"
log "Request: [HTTP::host][HTTP::uri] from [IP::client_addr]"
if {([$clientip equals 192.168.1.11] or [$clientip equals 192.168.1.10]) and ([HTTP::host] contains "$httphost") and ([HTTP::uri] contains "$base_url")} {
pool $pool }
}}
Please Assist.
Thanks.
- Mikrominquez_15Nimbostratus
yes, you need LTM licenced. We had the same problem with LC license only
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