Charlie Brady, Saturday, March 31, 2001 9:15 PM
<snip>
Replace localhost with ${SystemName}.${LocalDomainPrefix}${DomainName}.
<snip>

Hi Charlie, where are the above variables defined?  In that replacing
with the variables as you have mentioned and recreating squidGuard.conf
does not replace the variables with the correct entries.

/etc/e-smith/templates-custom/usr/local/squidGuard/squidGuard.conf

[root@e-smith squidGuard.conf]# ll
total 8
-rw-r--r--    1 root   root   248 Apr  1 13:00 50-acl-local
-rw-r--r--    1 root   root   229 Apr  1 13:01 60-acl-default

Edit as above and perform:

/sbin/e-smith/expand-template /usr/local/squidGuard/squidGuard.conf

Results in:

<snip>
# access control lists
acl {
# local computers
local {
pass trusted !ads !aggressive !audio-video !drugs !gambling...
redirect http://$SystemName.$LocalDomainPrefix$DomainName/.....
<snip>

Which does not work :-( but if you implement the correct URL
in the above two files and expand the template, this does work.

Also, Tim, to continue to fix up these issues you also must
edit the /primary/cgi-bin/blocked.cgi file and replace the 
A HREF= and mailto: entries, as appropriate for your needs.

Regards,

Darrell

Reply via email to