Re: Redirection.

From: Kevin Fink <kevin@dont-contact.us>
Date: Fri, 1 Aug 1997 22:32:39 -0700 (PDT)

Sure. Depending on exactly what you want, it could be as simple as:

#! /bin/sh

echo "Location: http://www.disney.com/"
echo

Or:

#! /bin/sh

echo "Content-type: text/html"
echo
echo "<H1>Sorry, the Internet is currently unavailable...</H1>"

Just spawn it off of inetd.

Kevin

On Sat, 2 Aug 1997, Umar Goldeli wrote:

> Is there any simple way for squid (or anything else that you may know of)
> that will bind to a port (after spawning several copies of itself like the
> redirectors with squid) and listen just like squid does - but return only
> ONE preset URL regardless of the request?
>
> Also not take any caching space etc... basically something like a really
> thinned down version of squid - just running a modified redirector without
> the caching space etc, but with multiple copies spawned, to stop blocking.
>
> Is there a way to get the redirectors to do this without squid? Or is
> there a way to REALLY thin out Squid? Some options?
>
> Any input would be greatly appreciated.
>
> Best Regards,
> Umar.
>
> --
> Umar Goldeli
>
> SYNFLUX International P/L.
>
> P.O. Box 98, Five Dock, N.S.W. 2046, Australia
> e-mail: umar@synflux.com.au Phone: +612-9712-2411
> WWW : http://www.synflux.com.au Fax : +612-9712-2399
>
>

------------------------------------------------------------------------------
 Kevin Fink <kevin@fink.com> N2H2, Creators of Bess
 http://www.fink.com/ 1301 Fifth Avenue, Suite 1501
 http://www.n2h2.com/ Seattle, WA 98101
------------------------------------------------------------------------------
 (206) 971-1400 VOICE (206) 971-1460 FAX (206) 680-7666 PAGER
------------------------------------------------------------------------------
Received on Fri Aug 01 1997 - 22:39:16 MDT

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