LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   syntax error in squidguard - where?! (https://www.linuxquestions.org/questions/linux-newbie-8/syntax-error-in-squidguard-where-4175421371/)

qwertyjjj 08-10-2012 05:35 AM

syntax error in squidguard - where?!
 
squidguard log says there is a syntax error right at the end.
I can't see it - any ideas?

Code:

#
# CONFIG FILE FOR SQUIDGUARD
#

#dbhome /usr/local/squidGuard/db
#logdir /usr/local/squidGuard/logs
dbhome /var/lib/squidguard
logdir /var/log/squidguard


dest porn {
        domainlist porn/domains
        urllist porn/urls
        }

dest aggressive {
        domainlist aggressive/domains
        urllist aggressive/urls
        }
dest hacking    {
        domainlist hacking/domains

        urllist hacking/urls
        }
dest religion  {
        domainlist religion/domains
        urllist religion/urls
        }
dest spyware    {
        domainlist spyware/domains
        urllist spyware/urls
        }
dest violence  {
        domainlist violence/domains
        urllist violence/urls
        }
dest weapons    {
        domainlist weapons/domains
        urllist weapons/urls
        }

acl {
            default {
                pass !porn !aggressive !hacking !religion !spyware !violence !weapons all
                redirect http://www.mysite.co.uk/accessblock.php
        }
 }



All times are GMT -5. The time now is 02:10 AM.