Forum Discussion
shipszky_319427
Nimbostratus
Dec 11, 2018Irule doesn't work between versions 12.1.3 and 14.0.0.3
I had an Irule that was working in version 12.1.3 when I upgraded to version 14.0.0.3 I had to remove the iRule in order for the the upgrade to be able to proceed. The error I get is 01070151:3: Rule...
shipszky
Altocumulus
Dec 11, 2018Sorry I should have typed this a little better, I was using an asterisk to redact some info from the file, so let me re-post this a little better,
01070151:3: Rule [/Common/testtesttest] error: Unable to find value_list (/abc_lccc) referenced at line 6: [class match $client_ip equals /abc_lccc]
when HTTP_REQUEST {
set low_uri [string tolower [HTTP::uri]]
set client_ip [IP::client_addr]
rule for LCCC
if { $low_uri eq "/t/lccc/" } then {
if { [class match $client_ip equals /abc_lccc] } then {
Let the request pass...
} else {HTTP::respond 403 content "Access Denied"}
rule for wwcc
} elseif { $low_uri eq "/t/wwcc/" } then {
if { [class match $client_ip equals /abc_wwcc] } then {
Let the request pass...
} else {HTTP::respond 403 content "Access Denied"}
rule for nwccd
} elseif { $low_uri eq "/t/nwccd/" } then {
if { [class match $client_ip equals /abc_nwccd] } then {
Let the request pass...
} else {HTTP::respond 403 content "Access Denied" }
rule for base level of site (MUST HAVE ALL DATAGROUPS IN THIS RULE)
} elseif { $low_uri eq "/" } then {
if { ( [class match $client_ip equals /abc_lccc] )
or ( [class match $client_ip equals /abc_wwcc] )
or ( [class match $client_ip equals /abc_nwccd] )} then {
Let the request pass...
} else {
HTTP::respond 403 content "Access Denied"
}
} else {
Let the request pass...
}
}
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