Forum Discussion
Anush
Nimbostratus
May 06, 2015rediecting site to different page but on same pool member..possible?
HI experts,
I am not sure whether it is possible or not. both sites are hosted on same pool member.
Thanks
What_Lies_Bene1
Cirrostratus
May 07, 2015Exactly where you want to change the URI is unclear, so this is a guess;
when HTTP_REQUEST {
log local0. "Request: [HTTP::uri]"
if { [string tolower [HTTP::host]] equals "abc.com" && [HTTP::uri] equals "/default.aspx" } {
log local0. "sending request to error_aspx"
HTTP::uri "/error.aspx"
} else {
log local0. "sending request to pool"
pool abc.com
}
}
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