HTTP Redirect when Server is Redirecting
team hi,
IHAC on which they wanted to hide the URI from the browser so it will be transparent from the user side that there is a rewrite or redirect
Ex. www.mysite.com/partner -> will go to PARTNER_POOL but the browser will just show www.mysite.com
when HTTP_REQUEST {
if { not ([HTTP::uri] starts_with "/partner") } {
HTTP::uri /reseller[HTTP::uri]
} {pool PARTNER_POOL}
}
However, it seems that the client is stll seeing the redirection from the browser.
From the way I see it, it might be the webserver is sending the redirect to the client
Will this be in the HTTP_REPONSE section, verify that it is a redirect, retrieve the "Location" header, and modify the contents of the "Location" header to be correct for your application?
Need help on iRule. Will this be on the HTTP_RESPONSE?