Forum Discussion
Tom_Butler_1775
Altocumulus
Apr 20, 2018Redirect an IP based request to my intranet site
I am using a BIG LTM, we have a site that many users have bookmarked by its IP address I want to write a rule that takes the inboud request that includes that IP address, and redirects it to https://newwebsite.com what is that best way to accomplish this task? I currently have a VS listening on the IP address for both HTTP and another for HTTPS
- Faruk_AYDIN
Nimbostratus
Attach the following irule to the vs of aa.bb.cc.dd:
when HTTP_REQUEST { if {[HTTP::host] eq "aa.bb.cc.dd"} { http::redirect "https://newwebsite.com[HTTP::uri] } }
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