Forum Discussion
need help to create an irule to append an uri and redirect with conditions...
I tried ur suggestion upside down and now am getting error while trying to access both: abc.test.com and abc.test.com/test2. Below is what I tried:
First I changed the default pool mapped to VS from pool-1111 to pool-2222. Then modified the irule as:
when HTTP_REQUEST {
switch [HTTP::host][string tolower [HTTP::path]] { "abc.test.com/test2" { pool pool-2222 } "abc.test.com/" - "abc.test.com/" { HTTP::path "/test1" pool pool-1111 } "abc.test.com/test1" - "abc.test.com/test1/" { pool pool-1111 } default { pool MyDefaultPool } }
}
Recent Discussions
Related Content
* 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