Forum Discussion
Emiliano
Apr 25, 2023Nimbostratus
Keep URL after a redirect
Hi Guys, I have an iRule that perform a redirect to an external website. I need to keep the original URL when the redirect is done. Ex: when HTTP_REQUEST { if { [string tolower [HTTP::path]] cont...
Paulius
Apr 25, 2023MVP
Emiliano If you are wanting to perform and HTTP redirect to an external website then you cannot do that and maintain the original HTTP host header value. You can take the original HTTP host header and put that into a new field called the referer and then the external location could configure their side to look for www.testing.com in the referer header and then that remote side can perform a rewrite when they receive the traffic from example.com to www.testing.com.
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