Regular expression in webcontent filter is not working.

58 views
Skip to first unread message

Kolli vasu

unread,
Feb 6, 2015, 5:10:08 AM2/6/15
to neths...@googlegroups.com
Hello,

I have used a regular expression "http://*domain.com*" for blocking a url , But its not working for me. Please help me regarding this.

Thankyou,
vasu.

DavideMarini

unread,
Feb 6, 2015, 9:29:28 AM2/6/15
to neths...@googlegroups.com
Hi Kolli,
I suppose you want to block all the domain and not just a single URL (like http://mydomain/test/index.html)
In that case you can :
* add the desired domain to the general blacklist (first tab on content filter page) 
or
* create a new category with the domains you want to block , than block that category in your profile

More details here:

Hope this helps
Davide

Kolli vasu

unread,
Feb 6, 2015, 12:33:28 PM2/6/15
to neths...@googlegroups.com
Hello,

Thanks for response, i have tries to add domain to blacklist with entry "www.domain.com" , but this entry is not blocking when i tried to access domain as "domain.com" . So i am trying to add regular expression .

Thank you,
vasu. 

Filippo Carletti

unread,
Feb 6, 2015, 12:45:35 PM2/6/15
to Kolli vasu, neths...@googlegroups.com
If you add "domain.com" it will also block "www.domain.com".
> --
> You received this message because you are subscribed to the Google Groups
> "NethServer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to nethserver+...@googlegroups.com.
> To post to this group, send email to neths...@googlegroups.com.
> To view this discussion on the web, visit
> https://groups.google.com/d/msgid/nethserver/07aedf36-5e73-4382-a3fc-5f5aebdff6c2%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.



--
Ciao,
Filippo

Kolli vasu

unread,
Feb 6, 2015, 1:05:27 PM2/6/15
to neths...@googlegroups.com, vasu...@gmail.com
I will try your suggestion thank you.
Reply all
Reply to author
Forward
0 new messages