Hi Nick,

Please find below an excerpt from our configfile.

hth
paul
*speaking for himself



time openhours {
        weekly * 07:45-08:00 12:45-13:00 17:45-18:00 22:45-23:00
02:45-03:00
}

# openhours defines the period in which the domainlist from below can be
used.
dest only_limited_time {
        domainlist time/ndomains
}

acl {
#
     mis within openhours {
       pass only_limited_time all
     } else {
       pass !only_limited_time all
     }

    default {
        pass none
        redirect http://<host>/cgi-bin/squidGuard.cgi?clientaddr
=%a&clientname=%n&clientuser=%i&clientgroup=%s&targetgroup=%t&url=%u
    }
}




I have used  SquidGuard for some time now.� I have just now needed the time
declaration  function.� However, when I put multiple specifications within
that  declaration whether on the same line or seperate lines I get a parse
error and  squidGuard goes into emergency mode.� This is the same with
either version  1.14 or 1.2.� I am running RedHat 7.2.� Anybody else out
there use the  time space declarations and have you had success with it?

Thanks.



Reply via email to