Re: [squid-users] Multiple redirectors

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Mon, 14 Jul 2003 14:51:32 +0200

On Monday 14 July 2003 11.52, Valter Dal Bo wrote:
> Now, the question is: can I have 2 redirect statements within squid?

No.

> How can I make the 2 redirectors work together?

You may be able to do so by piping the output of one into the other.

  #!/bin/sh
  /path/to/redirector1 -arguemnts.. | /path/to/redirector2 -args..

Alternatively you can write a little glue redirector which glues the
redirectors together according to your desires, similar to the Open2
based authentication authentication glue discussed on squid-users
previously.

Regards
Henrik

-- 
Donations welcome if you consider my Free Squid support helpful.
https://www.paypal.com/xclick/business=hno%40squid-cache.org
If you need commercial Squid support or cost effective Squid or
firewall appliances please refer to MARA Systems AB, Sweden
http://www.marasystems.com/, info@marasystems.com
Received on Mon Jul 14 2003 - 06:51:59 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:17:58 MST