Forum Discussion
Rahim_Abdul_re1
Nimbostratus
Jun 08, 2017URL Rewrite without changing the URL
We implemented the URL Rewrite Irule. When we access the https://2.2.2.2/T001/mds change the URL on internet explorer address bar to http://1.1.1.1/insight. I don't want to change URL. User will see ...
Samir_Jha_52506
Noctilucent
Jun 08, 2017Try below irule & update if facing issue.
when HTTP_REQUEST {
set host [string tolower [HTTP::host]]
STREAM::disable
}
when HTTP_RESPONSE {
Check if response type is text and host isn't null
if {[HTTP::header value Content-Type] contains "text" and $host ne ""}{
STREAM::expression "@https://2.2.2.2/T001/mds@http://1.1.1.1/insight@" }
STREAM::enable
}
Rahim_Abdul_reh
Nimbostratus
Jun 08, 2017
Following error has occurred.
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
