thanks actually the error was
 
weekly as 00:00-24:00
 
I needed to define a time frame.
 
now the problem I have is with my acl
 
I want to allow users to access only workrelated sites from 9AM-12AM and 1PM-5PM.  otherwise they can go anywhere except porn sites
my default rule blocks everyone else from accessing sites.
 
It seems that all the squidGuard does is default every single time.  I want to define by user list but it isn't prompting me
----- Original Message -----
Sent: Tuesday, December 09, 2003 2:44 PM
Subject: Re: parsing errors

Joseph Mah wrote:
Hello to anyone out there.  I've just installed squidGuard and have set up the squidGuard.conf file.  In a nutshell it restrict user access to websites during normal working hours and opens it at the end of the day.  I've opted to use the porn lists to block all adult material.
For the life of me, I cannot figure out why it keeps complaining about line 7 when it tries to parse it.
I have
 
logdir /usr/local/squidGuard/log
dbhome /usr/local/squidGuard/db
 
time workhrs{
    weekly mtwhf 00:00-09:00 12:00-13:00 17:00-24:00
    weekly as
}
 
line 7 ends where the last bracket is.  WHY does it keep complaining about it?  is there something wrong with my time declaration?  I've hand typed the conf file twice already and still the same thing.
 
Any help would be appreciated...
 
 
Joe
I guess the error comes from line 5: you are not allowed to put several time intervals.

Try:
time workhrs{
    weekly mtwhf 00:00-09:00
    weekly mtwhf 12:00-13:00
    weekly mtwhf 17:00-24:00
    weekly as
}

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

Reply via email to