Forum Discussion
Jeremyah_Corner
Nimbostratus
Apr 03, 2006Big Redirects List
I've got a lengthy list of redirs that I want to use F5 to do the work with, instead of a custom ASP solution that is running currently.
The basic gist..
I've got a list: ...
Colin_Walker_12
Apr 10, 2006Historic F5 Account
The rule looks pretty close. I'd make sure you have an open bracket before HTTP::host in your getfield command, though. Like this:
set myCatch [findclass [getfield [HTTP::host] "." 3] $::MySearchs " "]As far as ignoring the www goes, yes, you could use ends_with to ignore the first portion of the hostname. As long as you're using the HTTP::host variable in the comparison, this should work fine.
Colin
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