Forum Discussion
PeterC_70986
Nimbostratus
Aug 23, 2012Help with friendly name to FQDN redirect
I am trying to write an irule that will redirect:
It seems simple, but every irule I have tried just causes a loop.
Any help would greatly be appreciated!
Thanks
2 Replies
- Richard__HarlanHistoric F5 AccountThe iRule should be
when HTTP_REQUEST {
HTTP::redirect "https://hostA.domain.com"
}
The loop is caused by the webserver sending links that point to HTTP://hostA. You can set the HTTP profile to enable rewrite redirects. You can also update the application to pass links that are HTTPS. - PeterC_70986
Nimbostratus
Thanks Richard. Turns out I was entering the correct irule the whole time, the web developer gave me the wrong site to redirect to.
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