[RADIATOR] How to OR attributes for Handler selection
Amândio Antunes Gomes Silva
amandio at scom.uminho.pt
Fri Feb 17 15:49:23 UTC 2017
Hi, Vangelis!
I didn´t read your message carefully. Sorry for that. I suppose you’ll have to have to distinct Handlers with the same definitions, as you already know.
Best regards,
Amândio
De: Vangelis Kyriakakis [mailto:vkyriak at forthnet.gr]
Enviada: 17 de fevereiro de 2017 14:26
Para: Amândio Antunes Gomes Silva <amandio at scom.uminho.pt>; radiator at lists.open.com.au
Assunto: Re: [RADIATOR] How to OR attributes for Handler selection
Hi Amandio,
What I want to do is to OR different attributes, not different values of the same attribute
Regards
Vangelis
On 17/2/2017 4:11 μμ, Amândio Antunes Gomes Silva wrote:
Hi!
You can use Perl regular expressions. Try <Handler Client-Identifier = /abuse|user/> (you can refine the regexp to meet your needs).
Regards,
Amândio Antunes
De: Vangelis Kyriakakis [mailto:vkyriak at forthnet.gr]
Enviada: 15 de fevereiro de 2017 14:06
Para: radiator at lists.open.com.au<mailto:radiator at lists.open.com.au>
Assunto: [RADIATOR] How to OR attributes for Handler selection
Hello,
Using commas you can use attributes in an AND way to select a handler, e.g. <Handler Client-Identifier=abuse, User-Name = user>.
Is there a way to use attributes in an OR way? e.g. <Handler Client-Identifier=abuse OR User-Name = user>.
If not then it would be a very handy feature to implement.
Regards
Vangelis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.open.com.au/pipermail/radiator/attachments/20170217/8b3d56ec/attachment-0001.html>
More information about the radiator
mailing list