Ok , i tweak by irule and able to load the page , BUT response to CLIENT is not what is expected . i have removed the redirect statement under the irule .
This is how my irule looks now .
when HTTP_REQUEST {
if {([string tolower [HTTP::host]] equals "example.com") && [HTTP::uri] starts_with "/abcserver" } {
HTTP::uri "/xyz/rest/services"
node 1.1.1.1 6443
}
}
The CLIENT is expected to see in the browser https://example.com/abcserver/rest/services
when request is made with https://example.com/abcserver
i am not able to achieve this . Any help in this regard greatly appreciated .
Thanks