Forum Discussion
aweise_7447
Nimbostratus
Jan 27, 2011HTTPS redirect based on URI
Greetings,
We have a VIP that sends traffic to an SSL VPN appliance. The VIP is running on 443 and has a simple pool applied to it. However, we'd like to be able redirect users to a specific...
Ashish_Ram_Tak1
Nimbostratus
May 02, 2013Dear All,
I Want to achieve below scenario in my environment,
I have four virtual servers A, B, C, D initially all request hit on VS "A" when users typer mbanking.abc.com in their browser then they will hit "A", but if users typer mbanking.abc.com/abc they will redirect to VS "B" and if thy type mbanking.abc.com/pqr the request will redirect to "D"
I hev below iRule with me
when HTTP_REQUEST {
if { [HTTP::uri] starts_with "/xyz" } {
virtual server B
} else {
if { [HTTP::uri] starts_with "/pqr" } {
virtual server B
} else {
Virtual server A
}
}
will the above iRule work or-else i have do do modifications in it
Regards,
Ashihs Takawale.
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