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...
Chris_Miller
Altostratus
Aug 31, 2010Posted By watkins on 08/30/2010 04:04 PM
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 And this is where I got confused...he mentioned a user being able to see www.yahoo.com in their browser while their traffic was sent to www.google.com It's like a host-header re-write for outbound traffic üòõ
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