Results 1 to 5 of 5

Thread: regex -i

  1. #1
    Join Date
    Nov 2012
    Beans
    45

    regex -i

    hi mates, am currently running squid 3.1.20, 64 bit on hpz800 as transparent. All is well except the server doesn't block any address that i have specified, here'z my sample code

    acl bad_site url_regex -i torrentz torrents torrent
    acl black_list dstdomain "/etc/squid3/list_dir.txt"

    http_access deny bad_site
    http_access denyblack_list

    i have specified three web sites, being .redtube.com
    .torrentz.eu
    .thepiratebay.se
    running the tail -f /var/log/squid3/access.log, i see the three running. I have tried to change the file list_dir to black_list but to no avail, ave also used squidGuard, configured the sites in squidGuard.conf, but to no avail
    any advice?

  2. #2
    Join Date
    Feb 2013
    Beans
    Hidden!

    Re: regex -i

    Missing space?
    Quote Originally Posted by kanjah View Post
    http_access deny_black_list
    Last edited by schragge; March 14th, 2013 at 01:21 PM.

  3. #3
    Join Date
    Nov 2012
    Beans
    45

    Re: regex -i

    i have, that was a typo

  4. #4
    Join Date
    Feb 2013
    Beans
    Hidden!

    Re: regex -i

    Will it work if you write domain names directly instead of including them from file?
    Code:
    acl black_list dstdomain .redtube.com .torrentz.eu .thepiratebay.se

  5. #5
    Join Date
    Nov 2012
    Beans
    45

    Re: regex -i

    i did, but it still displays the same.....it allows access

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •