deny wrote:
> 
> i ve make a paste of a file example 
> can i have an example of a minimal squidguard.conf
> whith the right spaces ? 

I wasn't very clear on that, was I?  I think the problem has been 
non-space characters that may appear as spaces in various editors.

Here's a clip from a message previously posted here:
----- clipped from another email --------
As well it seemed I needed to retype my squidGuard.conf file by hand
as I must have accidentally added some extraneous characters to it
when I cut and pasted it into vi.
----- end of clip ------------

This is not a common problem, but it is something to be considered 
for a parse error when it appears nothing is wrong.

Let's go back over the details to make sure that I understand.

Your /usr/local/squidGuard/squidGuard.conf file contains:

------ squidGuard.conf ----------
logdir /usr/local/squidGuard/log
dbhome /usr/local/squidGuard/db
 
dest local {
        domainlist local/domains
}
 
acl {
        default {
                pass local none
                redirect http://192.168.0.1/fleche.gif
        }
}
----- end of squidGuard.conf ----------

After restarting squid (or squid -k reconfigure), you find that 
/usr/local/squidGuard/log/squidGuard.log contains (date, time and
pid removed):

parse error in configfile /usr/local/squidGuard/squidGuard.conf line 4
going into emergency mode

Is that correct?

Rick


> > Is that your complete squidGuard.conf file?  If not, would you 
> > please post the complete file?
> 
> yes of course 
> its just a trying not my real squidguard.conf 
> just for starting 
> 
> logdir /usr/local/squidGuard/log
> dbhome /usr/local/squidGuard/db
>  
>  
> dest local {
>          domainlist local/domains
>               }
>  
>                    acl {
>                        default {
>                                pass local none
>                               redirect http://192.168.0.1/fleche.gif
>                                                                }
>                                                                     }
> 
> > 
> > Have you retyped the line that is giving you an error?  squidGuard
> > doesn't like extra spaces in the wrong places.
> > 
> > Rick
> 
> i ve make a paste of a file example 
> can i have an example of a minimal squidguard.conf
> whith the right spaces ? 
> 
> thanks a lot
> 

Reply via email to