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 11, 2013funny thing, everytime I add the line it apends a www.www.abc.com to the front of it..but I dont have a rule adding a www to my test virtual server
I tried to change this(HTTP::uri [string map {"/news" "/"} [HTTP::uri]]) where "/" is "/hi" and it doesnt work.
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::uri]] {
"/news*" {
pool news.xxx.com-pool
HTTP::uri [string map {"/news" "/"} [HTTP::uri]]
}
default {
pool www.abc.com-pool
}
}
}
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