Forum Discussion
Context based URL redirection over node
On Secure VIP uat-api.directory.abc.com can you configure V3 context When user will call https://uat-api.directory.abc.com/v3/users/L12345 it will call & load balance between
https://uat1-jboss7.digital-solutions.abc.com:8080/api-directory/users/L12345 And https://uat2-jboss7.digital-solutions.abc.com:8080/api-directory/users/L12345
So i have created the VIP uat-api.directory.abc.com:443
And Pool on below server - Pool name - pool_uat_jboss7
uat1-jboss7.digital-solutions.abc.com:8080 uat2-jboss7.digital-solutions.abc.com:8080
Now i have created the Irule.. when HTTP_REQUEST {
if {([string tolower [HTTP::uri]] contains "/v3")} {
pool pool_uat_jboss7
HTTP::uri "/api-directory[string map -nocase {"/V3" ""} [HTTP::uri]]"
}
}
So here i want whenusser type - https://uat-api.directory.abc.com/v3/users/L12345
it will go to below real servers on below path by removing V3 in URI https://uat1-jboss7.digital-solutions.abc.com:8080/api-directory/users/L12345 And https://uat2-jboss7.digital-solutions.abc.com:8080/api-directory/users/L12345
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