Forum Discussion
amebiz_142234
Nimbostratus
Jun 20, 2018switch arguments use argument from a file
it is possible to put the switch arguments in a file?
switch -glob [HTTP::path] {
"/foo/*" -
"/bar/*"
{
do something
}
}
switch -glob [HTTP::path] {
read file
{
do something
}
}
file
"/foo/*" -
"/bar/*"
- Stanislas_Piro2
Cumulonimbus
Hi,
For this, use a data group with command:
if {[class match [HTTP::path] starts_with YourDataGroupName]} { do something }
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