Hello Rikona,

>P> I encounter a problem when I browse through Privoxy when I want to
>P> log out of anythin yahoo. Unfortunately I have to do this a few
>P> times a day. Logging out gets me a 404:
>
>I just got finished wrestling with Yahoo on the same problem. :-)))
>Yahoo is a MAJOR PITA!! They do all sorts of odd things to snoop and
>deliver ads, and they vary these things with time and with pages. It
>can be a mess if you don't use IE wide open.

LOL!!!

>P> I found that using the big hosts file without going through privoxy
>P> already 'solves' many ad-problems.
>
>True. The biggest problem with that is keeping it up to date.

I may have a simple fix for that:

In my home dir I made a dir called 'div'. There I put a copy of my
original /etc/hosts and called that my_hosts.
In root's crontab I set up a line to run a very simple update script
once a week. And this is the script that runs then:

#
# Updater for /etc/hosts
#

cd /tmp
wget -q http://www.mvps.org/winhelp2002/hosts.txt
# Not retrieved? Abort:
if [ $? -ne 0 ]
then    echo "New hosts-file not retrieved - aborting!"
        exit
fi

# You never know...
if [ ! -f /home/paul/div/my_hosts ]
then    echo "my_hosts source file not found - aborting!"
        exit
fi

cd /etc
cp hosts hosts.old
cp /home/paul/div/my_hosts hosts
cat /tmp/hosts.txt >> hosts
rm /tmp/hosts.txt

# End of script #


Perhaps this is something not for the weak of heart, but it works fine
for me. All standard disclaimers and so forth apply of course, but it is
free for anyone to use/adopt/adapt.

>Also note that using it can still cause problems with some pages.
>Always a tradeoff.....

I noticed that. That, however, is less of a problem for me than the
strange effect that privoxy shows.

Paul

-- 
Is that a 286 or are you just running MS-Windows?

http://www.nlpagan.net/linux.php
Have you visited http://twiki.mdklinuxfaq.org yet?

____________________________________________________
Want to buy your Pack or Services from Mandriva? 
Go to http://store.mandriva.com
Join the Club : http://www.mandrivaclub.com
____________________________________________________

Reply via email to