WEHT.net Webmaster wrote:

Hi folks,

I'm using example #4 from the website,
( http://www.squidguard.org/config/#example04 )

verbatim, and just testing from the command line but I get

2003-10-25 23:40:45 [24727] parse error in configfile
/etc/squid/squidGuard.conf line 4
2003-10-25 23:40:45 [24727] going into emergency mode

The example I'm using is...

logdir /usr/local/squidGuard/log
dbhome /usr/local/squidGuard/db

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

       acl {
                default {
                       pass !porn all
                       redirect
http://proxy.example.com/blocked.php?clientaddr=%a&clientname=%n&clientuser=%i&clientgroup=%s&url=%u
               }
       }

And line 4 is the "dest porn {" line.

Squid version is 2.5.STABLE4, Squidguard is 1.2.0

What's the obvious thing I'm overlooking?

-mark


Maybe: if you copy and paste from your browser, you can introduce some
"carriage return"-"line feed" instead of "line feed" only. Try to make the "carriage return" visible into your text editor and check that???


--
Pierre Fran�ois (http://www.romanliturgy.org)
Roemer Visscherstraat 46
NL-1054 EZ Amsterdam
+31 20 616 58 46





Reply via email to