At 04:26 PM 11/28/2001 -0600, Rick Matthews wrote:
> > 2) I'm having a problem understanding how some sites seems
> > to bypass squidguard redirects.
> >
> > In my db/ads/urls.diff, I added the following:
> >
> > -nytimes.com/realmedia/ads
> > +nytimes.com/realmedia/ads
>
>Why did you tell it to add that url and delete that url?

I new to squidGuard so I'm learning.  Right now in my newbie-ness, I figure 
by deleting and then adding  my entries back I save myself the headache of 
trying to remember what entries I added in the past without having to use a 
TON of .diff versioned files.

>I've been successful in blocking the ads on that site. I just looked and
>I have these entries in /ads/urls.diff:
>
>-graphics4.nytimes.com/ads
>-graphics4.nytimes.com/RealMedia/ads
>-nytimes.com/RealMedia/ads

K ... now you have me confused.  How do your entries above work?  According 
to the doco on the squidGuard site, a "-" means delete the entry from the 
database file.  If you are deleting, how is squidGuard working?

>Are you redirecting the ads section of your squidGuard.conf file to a
>1x1.gif?

Yes

It working now with the following entries in my .diff file:

-graphics4.nytimes.com/realmedia/ads
+graphics4.nytimes.com/realmedia/ads
-graphics4.nytimes.com/ads
+graphics4.nytimes.com/ads
-nytimes.com/ads
+nytimes.com/ads
-nytimes.com/realmedia/ads
+nytimes.com/realmedia/ads

But this still doesn't explain why the simple URL list of:

+nytimes.com/realmedia/ads

doesn't work.  According to the documentation, it appears this should work 
just fine.


-
........................................................
......... ..- -. .. -..- .-. ..- .-.. . ... ............
.-- .. -. -... .-.. --- .-- ... -.. .-. --- --- .-.. ...

Sean O'Neill

Reply via email to