Forum Discussion
Mike_Wethington
Nimbostratus
Aug 20, 2009Redirect stripping off the uri
I need to redirect all traffic that would come to either http://www.domain.com/something in the uri to http://www.domain.com (i need to do this for http and https traffic). Can somebody let me know ho...
dennypayne
Employee
Aug 20, 2009Hi,
You want to redirect (or send to a pool? - different actions there) when there is anything at all in the URI? You can just reverse your logic then and say:
elseif { ([HTTP::host] eq "www.domain.com") && (![HTTP::uri] eq "/") } {
(just inserting the ! before the comparison)
Denny
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
