Forum Discussion
harshads_204995
Nimbostratus
Aug 11, 2015Strange redirection
I'm facing a weird issue - we have two websites (managed through an iRule) under the same HTTPS VIP:
https://www.somedomain.com/abc
and
https://www.somedomain.com/def
Suppose I browse to http...
harshads_204995
Nimbostratus
Aug 11, 2015The irule looks like this:
when HTTP_REQUEST {
set uri [string tolower [HTTP::uri]]
if { $uri starts_with "/someuri" } {use pool pSomePool}
elseif { $uri starts_with "/abc" } {use pool pABC}
elseif { $uri starts_with "/def"} {pool pDEF}
elseif { $uri starts_with "/someotheruri" } {use pool pSomeOtherPool}
}
- harshads_204995Aug 11, 2015
Nimbostratus
Also wanted to note that there is no default pool defined on the VIP. Requests are directed to the pools based only on the iRule. Default persistence profile is cookie persistence.
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