Есть вариант условия с маской и regexp-ом.
Вот такой:
Цитата:
globalString
Syntax:
[globalString = var1=value, var2= *value2, var3= *value3*, ...]
Comparison:
This is a direct match on global strings.
You have the options of putting a "*" as a wildcard or using a PCRE style regular expression (must be wrapped in "/") to the value.
Examples:
If the HTTP_HOST is "www.typo3.com" this will match with:
[globalString = IENV:HTTP_HOST = www.typo3.com]
This will also match with it:
[globalString = IENV:HTTP_HOST = *typo3.com]
... but this will also match with an HTTP_HOST like this: "demo.typo3
.com"
|