Re: [squid-users] Ignoring redirects if the redirector wants squid to do so?

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Wed, 26 Sep 2007 10:44:22 +0200

On fre, 2007-09-21 at 19:42 +0200, Richard Hartmann wrote:

> I am using a redirector script to rewrite requests according to several
> rules. Let's supposed the user wants to connect to user.com, while my
> redirector rewrites the request to point to redirect.com. user.com
> itself has a 301 pointing to 301.com.
> In this case, 301.com will be loaded instead of redirect.com which is
> definately not the expected behaviour. Is there any way to force _my_
> choice over the initial target one's?

Yes, it's how it works. If you see anything else then maybe the redirect
was already cached by the browser.

What is said in access.log?

Regards
Henrik

Received on Wed Sep 26 2007 - 02:44:31 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Oct 01 2007 - 12:00:03 MDT