Forum Discussion
Adam_Fint_1489
Nimbostratus
Aug 02, 2011HTTP::Querry matching referal?
I have a BigIP running 9.4.7 HF2 (it is scheduled to be upgraded to 10.x in a month or two). I have an iRule who's behavior does not make sense to me, but I fairly new to iRules.
when HTTP_R...
The_Bhattman
Nimbostratus
Aug 02, 2011Hi Adam,
You could be explicit as to which external site is accessing this iRule
For example
when HTTP_REQUEST {
if {[HTTP::host] eq "www.domain.com" } {
switch -glob [string tolower [HTTP::query]] {
"*db_oem_id*" { HTTP::respond 301 Location "http://[HTTP::host][HTTP::path]" }
}
}
}
I hope this helps along with Michael Yates excellent suggestion.
Bhattman
Help 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
