[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [K12OSN] Squid and SquidGuard help
- From: Eric Harrison <eharrison mail mesd k12 or us>
- To: David Trask <dtrask vcs u52 k12 me us>
- Cc: k12osn redhat com
- Subject: Re: [K12OSN] Squid and SquidGuard help
- Date: Wed Mar 27 11:47:00 2002
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 Trask writes:
>>I think I have it running, but it's not blocking anything....I type in
>>sex.com and it still goes there.....what might I be doing wrong?
>>Anything in the squidGuard.conf file I might need to change? Do I need
>>to somehow enable the blacklists? The squidGuard.conf file seems to be
>>the stock one from squidGuard.....I remember seeing one yesterday (though
>>not sure from where) that showed the redirect of www.searchopolis.com
>>whereas the stock one shows the cgi stuff fro squidGuard for the
>>redirect. I'm wondering if the dbhome is pointing to the right place
>> in the one I have now it says..../var/squidGuard/blacklists is that
>>right? Any ideas.....can you give an example of how I can put in my own
>>redirect in the squidGuard.conf file? thanks!
>>
>>David Trask
>
>
>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]