Gravanda_33760
Feb 18, 2009Nimbostratus
Beginner - rewrite and redirect URI question
I need to create an iRule to do a few things:
1. redirect incoming HTTPS requests to a specific URI
2. rewrite the URL to the virtual server
I have a VS that has 4 nodes in a pool. Incoming requests are HTTPS with SSL off-loading connecting to HTTP:82 on the back-end nodes. I need something that allows me to maintain my HTTPS connection, direct all users hitting this VS to a specific URI, and rewrite the URL so that that VS is always present in the browser. Here is an example of what I need:
a. Users hits https://somesite.com (a VIP on LTM) using SSL off-loading
b. an iRule sends that user to the attached pool using the "/something" URI
c. The user sees a redirect in the browser to be https://somesite.com/something ad NOT the real server in the pool on a different port.
d. I need to maintain the SSL connection throughout
Th rewrite and SSL persistance is the biggest thing for me. The VS works great without redirecting to a specific URI. Once I do this with an http::redirect rule, it goes straight to the real server in the back-end and loses my SSL session. (back-end server is HTTP:82).
Thanx for any help!!