Forum Discussion
daemien_139983
Apr 08, 2014Nimbostratus
URI redirect
Hi All,
I'm trying to setup a uri redirect. what i would like to do is
https://somwething.com/ > go to node 1 in the pool
https://something.com/something/loging.aspx > go to node 2 in ...
- Apr 08, 2014
You should assign something like the following iRule to your virtual server:
when HTTP_REQUEST { if { [HTTP::uri] == "/" } { pool POOL member MEMBER1 443 } elseif { [HTTP::uri] == "/something/loging.aspx" } { pool POOL member MEMBER2 443 } }
a_pavlov_114144
Apr 08, 2014Cirrus
You should assign something like the following iRule to your virtual server:
when HTTP_REQUEST {
if { [HTTP::uri] == "/" } {
pool POOL member MEMBER1 443
}
elseif { [HTTP::uri] == "/something/loging.aspx" } {
pool POOL member MEMBER2 443
}
}
- daemien_139983Apr 08, 2014NimbostratusThanks Guys!
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