Re: [K12OSN] Squid and SquidGuard help

David Trask (dtrask@vcs.u52.k12.me.us)
Wed, 27 Mar 2002 12:28:58 -0500


>>Hey!  I found the problem!  In the program....the reference to
>>squidGuard.conf is misspelled.  I checked the log and it was looking for
>>sguidGuard.conf   (note the "g" instead of a "q")  I simply changed the
>>name of "squidGuard.conf" to "sguidGuard.conf" and it worked!  
>
>Was that my typo? If so, where? 

I looked in the squidGuard log and it said something like "can't open
configfile /etc/squid/sguidGuard.conf"   hope that helps.

I got a redirect to work....now the last thing....how do I edit the
blacklists to block some site sthat I want blocked....say mtv.com for
example?  I need the quick and drity way.  Thanks!

David


eharrison@mail.mesd.k12.or.us writes:
>On Wed, 27 Mar 2002, David Trask wrote:
>
>>Hey!  I found the problem!  In the program....the reference to
>>squidGuard.conf is misspelled.  I checked the log and it was looking for
>>sguidGuard.conf   (note the "g" instead of a "q")  I simply changed the
>>name of "squidGuard.conf" to "sguidGuard.conf" and it worked!  
>
>Was that my typo? If so, where? 
>
>>Now I'm
>>trying to get me redirect to work right....it blocks, but it doesn't go
>to
>>the site I want it to go to in place of the "bad" one.
>
>This is a bit tricky, there are two ways to do it that are subltly
>different.
>
>The first way:
>
>	redirect http://newurl.com
>
>simply retrieves "newurl.com" instead of the blocked URL. This is nice in
>that the browser will still show "http://www.badsite.com" but show the
>contents of "http://newurl.com". The disadvantage is that relative links
>won't work from newurl.com, the browser will try to pull the relative
>links
>from badsite.com. 
>
>The second way:
>
>	redirect 302:http://newurl.com
>
>will tell the browser that badsite.com has been moved to newurl.com. The
>browser will then go fetch newurl.com. This is apperent to the end-user.
>Relative links will now work from newurl.com, since the browser is aware
>that it is now connected to a different web site.	
>
>HTH
>
>-Eric


David N. Trask
Technology Teacher/Coordinator
Vassalboro Community School
dtrask@vcs.u52.k12.me.us
(207)923-3100



_______________________________________________
K12OSN mailing list
K12OSN@redhat.com
https://listman.redhat.com/mailman/listinfo/k12osn
For more info see