LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-10-2012, 05:35 AM   #1
qwertyjjj
Senior Member
 
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,012

Rep: Reputation: 30
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
        }
 }
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
error in squidguard bachawiss Linux - Server 1 05-26-2012 09:42 AM
SquidGuard: include some config file in squidGuard.conf toure32 Linux - Server 1 04-12-2011 02:10 PM
[python] syntax Error : invalid syntax Python_user Programming 2 09-06-2009 12:52 PM
error: mail command failed for /var/log/squidguard/squidGuard.log.6 Niceman2005 Linux - Networking 1 01-22-2009 01:24 PM
C++ syntax error before :: token HELP, i cant find the syntax error :( qwijibow Programming 2 12-14-2004 06:09 PM


All times are GMT -5. The time now is 02:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration