Forum Discussion
TridipLenka_316
Nimbostratus
May 29, 2017How to re-direct the VIP traffic to specific directory of back-end server
The VIP : https://abc.com
its pool members are :
10.2.3.2:2001
10.2.3.3:2001
Both the backened servers have webpage configured with extension which is accessible only when accessed as :
htt...
M_2
Altocumulus
May 29, 2017can you try the below irule.
when HTTP_REQUEST {
if { [string tolower [HTTP::host]] equals "abc.com" } {
if { [string tolower [HTTP::uri]] equals "/" } {
HTTP::respond 302 noserver Location "http://[getfield [HTTP::host] : 1]/etc/del"
} else {
pool mypool.pool
}
}
}
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
