Forum Discussion
Mike_Bednarck_1
Aug 18, 2011Nimbostratus
Redirect the web browser
Looking for a irule that will redirect the web browser from HTTP://Name_they_are_forcing.domain.com to HTTP://Name_we_select.domain.com. We have the certificate for Name_we_select.domain.com and don'...
Mike_Bednarck_1
Aug 18, 2011Nimbostratus
I knew this was going to be an easy irule. A few things I did forget - yes it is HTTPS, and second there is a extension to both URLS as in "https://name_they_are_forcing.domain.com/owa" and "https://name_we_selected.domain.com/owa"
Also if we wanted to add a section in if they forget to add the"/owa" it will insert it. THe below code is in a different rule. Can it be added to this rule also
if {([HTTP::uri] == "/") } {
HTTP::uri /owa
}
or would you add
if {[string tolower {HTTP::host]} eq
"HTTPS://name_they_forcing.domain.com/owa" or "HTTPS://name_they_are_forcing.domain.com"}{
Http::redirect "https://name_we_select.domain.com/owa"
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