Forum Discussion
Brett__01_13258
Oct 20, 2015Nimbostratus
2 http request rules merge to one - one referer the other set access only
Hi I have two rules that work individually. But when i try and combine get no luck and just redirects everything to the default location.
The first rule is to only allow the uri path in the irule,...
Stanislas_Piro2
Oct 20, 2015Cumulonimbus
Hi,
How can the second irule work with the switch condition???
if the referer is
http://goodlocation.com/mypath
, the command [string tolower [URI::host [HTTP::header "Referer"]]]
returns only goodlocation.com
and you search goodlocation.com/*
another issue may be the redirect in both irules: if there is no referer and path is wrong, the second redirect may cause TCL error. to solve this issue, add a
return
command after each redirect commandRecent 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