Forum Discussion
Naumin_Dave_144
Nimbostratus
Dec 22, 2016How to hide URI from server response
Hi All,
I am trying to remove URI from return traffic(i.e. from server side response to client side) as the web server(pool member) is coded with redirection. Based on my research we need HTTP+STRE...
Naumin_Dave_144
Nimbostratus
Dec 22, 2016also tried below Irule but it is getting looped(i.e. browser is keep requesting without endless time)
when HTTP_RESPONSE {
Check if response is a redirect
if { [HTTP::is_redirect]} {
Check if response contains the old domain name
if { [HTTP::header location] contains "/cfcc/login/login.jsp" } {
Replace the old domain name with the new one in the Location header
HTTP::header replace location [string map {/cfcc/login/login.jsp /} [HTTP::header location]]
}
}
}
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
