Forum Discussion
Robert_47833
Sep 29, 2011Altostratus
set variables or not,this is the question
I want to redirect http://www.cjj.co.uk to http://my.cjj.co.uk http://www.cjj.com to http://my.cjj.com
hmm
there are 2 ways to achieve this ,one use variable ,another one does...
Robert_47833
Sep 30, 2011Altostratus
ok,it seems they have same efficiency
but example2 seems more readable ,right?
et envdomain "[domain $host 3]"
} elseif {
[string tolower [HTTP::host]] ends_with ".com"
}
{
set envdomain "[domain $host 2]"
}
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