Re: redirection

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Mon, 09 Mar 1998 20:02:02 +0100

--MimeMultipartBoundary
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

Yee Man Chan wrote:
>=20
> If I want to always direct the client's request to
> shivam.eecs.umich.edu (ie if client want yahoo, my squid will
> query shivam instead and shivam will return trash), which
> function(s) should I change?

None.

Use a redirector.

Simple redirector:

#!/usr/bin/perl
$|=3D1;
while (<>) {
  s%http://%http://shivam.eecs.umich.edu/%;
  print;
}

> P.S. Why don't we make a message board for squid-dev@nlanr.net? The
> e-mails are bouncing around. 8-(

??? I think squid-dev works fine...

---
Henrik Nordstr=F6m
Sparetime Squid Hacker
--MimeMultipartBoundary--
Received on Tue Jul 29 2003 - 13:15:47 MDT

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