Forum Discussion
Matt_A_184631
Nimbostratus
Feb 27, 2015HTTP Redirect from intranet to internet site
I am wanting to create a redirect using and internal DNS name that redirects to an external one.
EX: http://internal.mycompany.com redirects to http://mycompany.f5.com
I have configured a VIP on...
- Feb 27, 2015
It needs to be:
when HTTP_REQUEST { HTTP::respond 301 "Location" "https://mycompany.f5.com[HTTP::uri]?whr=tetrapak.com" }HTTP::uri is caps sensitive.
Matt_A_184631
Nimbostratus
Feb 27, 2015Here is the new iRule:
when HTTP_REQUEST { HTTP::respond 301 "Location" "https://mycompany.f5.com[HTTP::URI]?whr=tetrapak.com" }
- cjbarr1234Mar 02, 2015
Altostratus
I ran into this a while ago and that iRule works really well. I had some mega issues though with SSL sites. I dealt with a SaaS company that I wanted to do the same thing. Glad you had this work out!
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
