RE: redirection

From: Armistead, Jason <ARMISTEJ@dont-contact.us>
Date: Thu, 26 Mar 1998 19:50:00 -0500

> From: A.Saeed[SMTP:arsh@its.super.net.pk]
> Sent: Friday, 27 March 1998 0:08
> Subject: RE: redirection
>
> Dear Sir:
>
PLEASE Arshad, I can't answer all your questions. This is ABSOLUTELY
the last time that I will

My advice : USE THE SQUID MAILING LIST - THAT'S WHAT IT'S THERE FOR
!!!!!!

> I had put your redir.pl in /bin and when I ran squid
> it says FATAL: ALL redirectors are exited.
>
> Do I have to create a file and add some local gif information or
> anything
> else ?
>
No, you need the Perl language installed (see www.perl.com). Then, you
need to put the right path to perl into the first line of redir.pl, the
one with the #! on it. For me, it's /usr/local/bin/perl. Your site
might be different.

The file must also be executable (according to the bits set by the chmod
command)

myhost# ls -la redir.pl
-rwxr-xr-x 1 squid users 4022 Mar 25 14:47 redir.pl

> I don't have any idea about developement?
>
Then maybe, just maybe, you should hire and pay for someone who does !!!
It seems that you ask an extraordinarily large number of questions about
some of the most basic and trivial things. Maybe someone else in your
organisation is better able to manage Squid for you.

> could you help me ??
>
Like I said, this is the LAST time I'll answer a direct mail. Hey list
users, does this guy also bug you directly with e-mail ???

Jason (getting VERY tired of this)

> On Sun, 22 Mar 1998, Armistead, Jason wrote:
>
> > Arshad
> >
> > You should just write a Perl redirector with the ad URLs you want to
> > redirect in it. See the Release-Notes-1.1 file that is included in
> the
> > Squid distribution - it has a sample redirector there.
> >
> > If you review the mailing list archives, you will see that I sent my
> > sample redirector code to the list just recently. I've repeated it
> > below.
> >
> > As to how you find the URLs you want to filter, I just reviewed my
> > access log files looking for words like "/ads" "/adver" etc. You
> can
> > also just go to some of the popular search engines and use
> Netscape's
> > "View -> Document Info" feature to see what URLs the document uses,
> and
> > make a not of the advertising ones.
> >
> > As to where you redirect the ads, that is also up to you. I've got
> some
> > different pages depending on where the ad comes from. Some sites
> use
> > different sizes, e.g. Yahoo on its banner. Others use the defacto
> > standard 468 * 60 pixel ones. It's a bit of experimentation that
> you
> > have to do for yourself.
> >
> > It may also be much quicker to make the redirector load a list of
> regex
> > expressions from a file, so that with a very large list it runs much
> > faster. My code is still quite simple and experimental.
> >
> > Jason
> >
> > ----------------------------- redir.pl file (removed)
>
Received on Thu Mar 26 1998 - 13:58:10 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:39:27 MST