Forum Discussion
Steve_87232
Nimbostratus
Aug 30, 2010ProxyPass - Reverse Proxy / Backend URL rewrite.
I have been trying to allow a user to type (for example) www.google.com in their browser, that then is sent to a virtual server on the LTM that sends the request to www.yahoo.com. The user sees the co...
George_Watkins_
Aug 30, 2010Historic F5 Account
Sounds like you're rewriting the URI, but you want an HTTP redirect. You just need to create an iRule and assign it to the virtual in questions. Something like this:
when HTTP_REQUEST {
if {[string tolower [HTTP::host]] starts_with "service.mycompany.com" } {
HTTP::redirect http://externalsite.longurl.application.service.othercompany.com[HTTP::uri]
}
}
-George
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