This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

url blocking

in v8 i used to be able to go *.whatever.whatever to kill an entire domain.  I've been hunting down the domains that are serving these freaking video ads and i have a good idea where they are coming from but i can't get them blocked inside the web proxy.  one of hte domains i want dead is newsinc.com and all subdomains.  *.newsinc.com used to work.  nOw it doesn't.  Some pointers would be appreciated.


This thread was automatically locked due to age.
Parents
  • Domain blocking in 9.1 works two ways:

    You can add a domain into the domains field.  This specific domain ONLY is blocked (not any subdomains).  Wildcards are not supported.  If you enter in "*.whatever.whatever" then nothing will get blocked.  If you enter in "whatever" then nothing will get blocked.

    If you use domains blocking, I recommend that you do not also enter in a Regular Expression.  This is because the two fields are ANDed together not ORed.  Therefore something would need to match both the domain and regex before it is blocked.

    The other option is to just use regular expressions.  For this leave the Domains field blank.  Use code similar to what scorpianking posted.

    The online help contains this information as well.

    In 9.2 the functionality will be exactly the same but the UI will be clearer that you can do domain, you can do regex, or you can do regex that applies to a domain.
Reply
  • Domain blocking in 9.1 works two ways:

    You can add a domain into the domains field.  This specific domain ONLY is blocked (not any subdomains).  Wildcards are not supported.  If you enter in "*.whatever.whatever" then nothing will get blocked.  If you enter in "whatever" then nothing will get blocked.

    If you use domains blocking, I recommend that you do not also enter in a Regular Expression.  This is because the two fields are ANDed together not ORed.  Therefore something would need to match both the domain and regex before it is blocked.

    The other option is to just use regular expressions.  For this leave the Domains field blank.  Use code similar to what scorpianking posted.

    The online help contains this information as well.

    In 9.2 the functionality will be exactly the same but the UI will be clearer that you can do domain, you can do regex, or you can do regex that applies to a domain.
Children
No Data