Forum Discussion
Anush
Nimbostratus
Mar 02, 2015Data group "/" definition
Hi Experts,
Thanks in advance for your time and respond to this question.
I have request to redirect couple of URLs to specific site.
https://abc.com/ or
https://abc.com/uri1 or
http...
Anush
Nimbostratus
Mar 02, 2015Hi Brad,
I made little modification in the script and works just fine..
when HTTP_REQUEST { if { [string tolower [HTTP::host]] equals "abc.com" && [HTTP::uri] equals "/" } { HTTP::redirect "https://def.com" } elseif { [class search URL_REDIRECT starts_with [HTTP::uri]] } { HTTP::redirect "https://def.com" } else { pool POOL_NAME } }
Thanks
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