Re: Forward

From: Kendall Lister <kendall@dont-contact.us>
Date: Wed, 16 Feb 2000 09:36:03 +1100 (EST)

On Tue, 15 Feb 2000 martin.stenhard@perstorp.com wrote:

> Ok sorry for the unclear explanation. But what I looking for is a URL
> forward that the client browse is aware off. So when a client calls
> for URL http://admin.domain.com the proxy forwards the URL to a new
> http://admin.domain2.com and the client is aware off the URL change
> and continues accessing the new url http://admin.domian2.com.
>
> >I don't understand what you are trying to do here. You cannot redirect a
> >whole site to a single URL, and expect that single URL to act as the
> >whole site.
> I can do that with NS Proxy URL forward. Because the client is aware
> of the forward and continues with the new URL.

The confusion appears to be that the usual Squid (redirector) approach to
modifying URLs is to rewrite each individual URL in a one to one fashion
(hence Henrik's comments). You want to add an entirely different function
to Squid, being the ability to not only proxy the first URL but in a way
act as a real web server for that URL, sending a once-off redirection (in
the HTML sense, not in the sense of Squid's rewriting facility) to another
URL. Squid, as a proxy, doesn't usually like to interfere with the content
of pages like this.

Presumably you have control of the domains that you are redirecting to and
from, so it might be cleaner to handle this on your web server and keep
Squid as a pure proxy.

--
 Kendall Lister, Systems Operator for Charon I.S. - kendall@charon.net.au
  Charon Information Services - Friendly, Cheap Melbourne ISP: 9589 7781
Received on Tue Feb 15 2000 - 19:10:15 MST

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