Forum Discussion
John_Comstock
Nimbostratus
Sep 13, 2006iRule for URL Re-write
I have a requirement to rewrite the URL that external business partners connect to for both HTTP and HTTPS (will terminate SSL on the BigIP) traffic to forward to internal web sites. Can anyone direct...
Colin_Walker_12
Sep 14, 2006Historic F5 Account
I'm not sure I caught the part about needing to forward them to a proxy server. Are you saying you need to forward the traffic two places? Or are you just wanting to redirect a request from https://theirsite.externaldomain.com to http://oursite.internaldomain.com?
If the latter is the case, then all you'd need is the redirect command, like this:
when HTTP_REQUEST {
if { [HTTP::host] eq "theirsite.externaldomain.com" } {
HTTP::redirect http://oursite.internaldomain.com
}
}You would, of course, have to be sure that the BIG-IP is decrypting the SSL traffic by way of a client-ssl profile before inspecting things.
Colin
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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