Hi mj16othman,
to always stick the browser address bar to https://oli.test.com/ while the client is visiting your site. You would need to send the client an outer HTML page which opens an inner iFrame. The outer HTML basically stays for the entire browsing sessions and emulates an inner browser window. If the user clicks on a link, the iFrame will change the inner content as usuall...
You may either deploy such a HTML page on your webserver as default document or even as 404 response, or use the iRule below:
when HTTP_REQUEST {
if { [HTTP::path] eq "/" } then {
set html_page {
<html>
<body>
<iframe src="/mortgage/default.aspx?clientid=1021" style="border: 0; width: 100%; height: 100%" name="Your browser does not support iframes">
</html>
</body>}
HTTP::respond 200 content $html_page "Content-Type" "text/html"
}
}
Cheers, Kai