Forum Discussion
Brett__01_13258
Nimbostratus
Oct 20, 20152 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
Cumulonimbus
Oct 20, 2015Hi,
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 commandHelp guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
