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

Web Filtering

I have been searching through the posts and this is what I THINK I have found out.

When trying to either block or allow a website in the filter actions, if I put a DOMAIN in the domain section and a regEX statement into the REgular Expressions sections I have just created a "AND" statement?

If I want to block all access to " The Useless Web " all I need to do is enter that into the DOMAIN section as is and NOT enter anything into the Regular Expression section?

Regular Expressions escape me.  I have been trying to locate a website that will let me enter a website into a field and have it convert it into a string of gibberish(regEX) that I can enter into the filter.  So far, the sites I have found will let me do everything else but that.

Does anyone have a site, or an app, that I can use to convert something like " www.zumiez.com/womens/tops/t-shirts.html" into a regEX expression that accounts for possible subdomains and HTTP/HTTPS?  Or would it be best to just put "www.zumiez.com" into the DOMAIN section AND leave the Regular Expression section free from any mention of this site?

And how much will this change when 9.2 is released?


This thread was automatically locked due to age.
Parents
  • Yes it is an AND.
    If you want an OR then you have to create multiple entries.

    Basically:
    If you want to use RegEx then create a new entry and fill in a RegEx.
    If you want to use a domain name then create a new entry and fill in the domain.
    In the rare case you want to do both (for example block a path on a domain) then create a new entry and put in the domain then the regex that will be applied only if the domain matches.

    The domain method is better performance and simpler.  The regex is more powerful.

    Please note that in 9.1 the domain blocking is the exact and entire domain only.  Therefore blocking cheatography.com does NOT block Cheat Sheet Generator and Cheat Sheet Repository - Cheatography.com.

    In 9.200 the UI changed a little bit to make the relationship more clear and to optionally allow subdomains to match, however the underlying functionality is the same.
Reply
  • Yes it is an AND.
    If you want an OR then you have to create multiple entries.

    Basically:
    If you want to use RegEx then create a new entry and fill in a RegEx.
    If you want to use a domain name then create a new entry and fill in the domain.
    In the rare case you want to do both (for example block a path on a domain) then create a new entry and put in the domain then the regex that will be applied only if the domain matches.

    The domain method is better performance and simpler.  The regex is more powerful.

    Please note that in 9.1 the domain blocking is the exact and entire domain only.  Therefore blocking cheatography.com does NOT block Cheat Sheet Generator and Cheat Sheet Repository - Cheatography.com.

    In 9.200 the UI changed a little bit to make the relationship more clear and to optionally allow subdomains to match, however the underlying functionality is the same.
Children