Forum Discussion
soymanue
Nimbostratus
Oct 12, 2012Hostname split
Hello
I need to split a hostname into three parts ( ..).
This can be done al least on two ways:
1) scan [HTTP::host] %\[^.\].%\[^.\].%s prefix host suffix
2) set prefix [ge...
What_Lies_Bene1
Cirrostratus
Oct 12, 2012Kevin's probably onto something there but if you did take the data group route, create and populate the data group and use code something like this;
if { [class match [string tolower $host] contains suffix_data_group ] } {
'do something here'
}
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