Forum Discussion
Greg_Donohoe_25
Nimbostratus
Jul 07, 2016URL redirect
Hi,
I am trying to configure a URL redirect so that client sessions connectiong to https:abc.home.com are redirected to https://xyz.office.com. The one issue I see is that the xyz.office.com site wil...
Yann_Desmarest
Cirrus
Jul 07, 2016Hi,
You can use the following :
when HTTP_REQUEST {
if { [HTTP::host] eq "abc.home.com" } {
HTTP::respond 301 Location "https://xyz.office.com[HTTP::uri]"
}
}
Greg_Donohoe_25
Nimbostratus
Jul 07, 2016Just to add to this for better understanding here is the set up:
xyz.office.com -> authentication server (virtual server) -> abc.home.com
If a connection to abc.home.com comes from authentication server they want the connection to pass throug to pool members. If a connection goes from anywhere else direct to abc.home.com then they are redirected back to xyz.office.com so that they can authenticate correctly. I hope this is a bit clearer.
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