[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [K12OSN] Squid and SquidGuard help



>>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 grepped for it, but don't find it>

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? <I grepped for it, but don't find it>
>
>>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





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]