Forum Discussion
Adam_Fint_1489
Aug 02, 2011Nimbostratus
HTTP::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...
Adam_Fint_1489
Aug 02, 2011Nimbostratus
There was another iRule being applied to this same vip:
- rule shopgoxxx.com {
- when HTTP_REQUEST {
- switch -glob [HTTP::host] {
- "www.shopgoxxx.com" {
- return
- }
- default {
- HTTP::respond 301 Location "http://www.shopgoxxx.com[HTTP::uri]"
- return
- }
- }
- }
- }
When we combined the iRule in my first post along with the above into the one iRule, everything started working as expected; previously they were each applied to the VIP, and we'd get a 301 loop.
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