Forum Discussion
kykong_107132
Nimbostratus
Jul 20, 2005redirect plus use pool
Hi All,
I have a requirement, the scenario is something like this.
www.abc.com map to VS IP (192.168.10.1)
if someone access to http://www.abc.com/test/
i like to se...
Martin_Machacek
Jul 20, 2005Historic F5 Account
I can't think of any better way how to achieve your desired behavior. Waht you have is IMHO the simplest and most effiecient solution. You should though consider changing your rule slightly. Unless you really want to discard all requests with URIs other than /test/ or /connect/ you should use:
if (http_uri == "/test/") {
redirect to "http://%h/connect/"
} else {
use pool pool_192.168.10.2
}
BIG-IP discards all requests not matching any condition in a rule.
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