Forum Discussion
F5Hopper_28651
Nimbostratus
Nov 06, 2013Stealth Redirection or URL Hiding
Im not sure you can do this, but I will ask. looking to take www.abc.com/news and have the uri /NEWS actually be news.xxx.com(site is third party)
Thanks
F5Hopper_28651
Nimbostratus
Nov 06, 2013so since the news.xxx.com is some blog server somewhere outside my control I wouldnt be able to do this?
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] contains "/news"} {
HTTP::redirect "http://news.xxx.com "
}
elseif { [HTTP::header host] eq "news.xxx.com" } {
HTTP::header replace Host "www.abc.com/news"
}
}
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