Forum Discussion
Matt_108113
Nimbostratus
Mar 11, 2009IRules setting for http redirect then rewrite response
I am working with Oracle istore behind an F5 and basically we are trying to use the F5 as a reverse proxy and do something like this.
customer url: http://istore.cust.com
actual oracle istore url: http://hostname:8000/OA_HTML/ibeCAcdLogin.jsp?a=b
I wrote a rule to make the F5 forward requests from the customer to the actual url, but the customer sees the http://hostname:8000/OA_HTML/ibeCAcdLogin.jsp?a=b as the response of the redirect. How can I clean this up to make it pretty to the customer? I would like the customer to either only see the page as http://istore.cust.com or http://istore.cust.com/OA_HTML/ibeCAcdLogin.jsp?a=b but not as the actual hostname with the port 8000.
here is what I have for irules so far:
when HTTP_REQUEST {
HTTP::redirect "http://hostname:8000/OA_HTML/ibeCAcdLogin.jsp?a=b"
}
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects