[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20051104: Using the ALLOW feedtype hostIdEre [OK_pattern [NOT_pattern]]



>From: Matthew Lazzara <address@hidden>
>Organization: SSEC/AMRC
>Keywords: 200511041719.jA4HJa7s012499

Hi Matthew,

>Hello!  Quick question - I'm working on taking advantage of the new  
>OK_pattern and NOT_pattern  - can you give me an example where I only  
>want to specific a NOT_pattern?  Would it look like this:
>
>ALLOW    ANY    iceberg\.ssec\.wisc\.edu    .*    USAP.AMRC.*
>
>or is it:
>
>ALLOW    ANY    iceberg\.ssec\.wisc\.edu  [[USAP.AMRC.*]]

Your first example is mostly correct; the second is not correct.
I suggest you change your first allow to:

ALLOW    ANY    ^iceberg\.ssec\.wisc\.edu$    .*    USAP\.AMRC\.

The changes are in the specification of the host (more specific
if that is what you are after) and in the NOT pattern (the periods
are part of your product name, not regular expression matches for any
character.

>Thank you!

No worries.

Cheers,

Tom
--
NOTE: All email exchanges with Unidata User Support are recorded in the
Unidata inquiry tracking system and then made publicly available
through the web.  If you do not want to have your interactions made
available in this way, you must let us know in each email you send to us.