Transparent Web Proxy
Hello all,
Relative newb here!!!
Scenario:
User browses to website www.website1.co.uk , which has a link to an external website 2, or user can append a URI in the browser to get to the same external site.
Eg link points to ext.website2.co.uk and www.website1.co.uk/ext is also directed to ext.website2.co.uk...
Requirement: When a user is directed to ext.website2.co.uk, the browser still displays the original address (www.website1.co.uk/ext) and any subsequent browsing taking place on the ext website also maintains the same original address.
Progress:
I have implemented the Proxypass Irule for v10/11 and can get the www.website1.co.uk/ext (the link has not yet been added to the page, so my testing is only using the URL/URI combination) to redirect and rewrite to the ext website transparently to the user.
The original website is targeted by hitting intPool1 (contains the internal webserver) and the datagroup targets extPool2 (contains the external website IP),
www.website1.co.uk/ext := ext.website2.co.uk/ext extPool2
However, as soon as I click any other links on the ext website (after the initial sucessful redirect/re-write), my browser is immediately taken directly to the ext website and the original website (www.website1.co.uk/ext) is no longer seen/rewritten to the browser.
Also, I cannot get the URI transformations to work in the data groups, i.e when testing I could only get the redirect/rewrite to work if the URI is the same as the target URI on the website.
e.g - www.website1.co.uk/etx - to - ext.website2.co.uk/ext works
- www.website1.co.uk/test - to - ext.website2.co.uk/ext does not...
The second entry in the data group looks like this:
www.website1.co.uk/test := ext.website2.co.uk/ext extPool2
I may be way off here but its seems as though the proxy pass irule will only work on a single url/uri (on original website) to single url/uri mapping (on external website and the uri portion must exist on the external website for it to work)?
Any help or putting of me in my place appreciated!!!
Many thanks