Re: Implicit redirect

From: Greg Wohletz <greg@dont-contact.us>
Date: Thu, 13 Aug 1998 13:34:28 -0700

>Greg Wohletz writes:
>
>>
>>I'm running squid on my web server in httpd_accel mode with the real web
>>server living on port 81. Everything works just fine except that when
>>a request for a personal page like ``http://www.egr.unlv.edu/~john'' comes
>>in (without the trailing slash) the redirect causes the URL to read
>>``http://www.egr.unlv.edu:81/~john/''. This is undesirable since
>>referances to this URL bypass the accelerator.
>>
>>Is there a way to deal with this?
>
>I just wrote up a FAQ entry about this.
> http://squid.nlanr.net/Squid/FAQ/FAQ-20.html#ss20.2
>
>Try it and let us know.
>
>Duane W.

I tried it out, but what happens is squid things it is detecting Forwarding
loops:

1998/08/13 13:29:06| WARNING: Forwarding loop detected for 'http://www.egr.unlv.edu/endorsements/driven-netbsd.gif'
1998/08/13 13:29:06| --> 1.1 www.egr.unlv.edu:80 (Squid/1.2.beta23) 1998/08/13 13:29:06| WARNING: Forwarding loop detected for 'http://www.egr.unlv.edu/tbe/great_hall_medium.gif'
1998/08/13 13:29:06| --> 1.1 www.egr.unlv.edu:80 (Squid/1.2.beta23)
1998/08/13 13:29:06| WARNING: Forwarding loop detected for 'http://www.egr.unlv.edu/endorsements/apache_pb.gif'
1998/08/13 13:29:06| --> 1.1 www.egr.unlv.edu:80 (Squid/1.2.beta23)
1998/08/13 13:29:09| WARNING: Forwarding loop detected for 'http://www.egr.unlv.edu/'
1998/08/13 13:29:09| --> 1.0 squid.egr.unlv.edu:3128 (Squid/1.2.beta23), 1.0 sd.cache.nlanr.net:3128 (Squid/1.2.beta23), 1.0 www.egr.unlv.edu:80 (Squid/1.2.beta23)
1998/08/13 13:29:14| WARNING: Forwarding loop detected for 'http://www.cs.unlv.edu/'
1998/08/13 13:29:14| --> 1.1 www.egr.unlv.edu:80 (Squid/1.2.beta23)

And returns the ``access denied'' error page to the clients.

                                                --Greg
Received on Thu Aug 13 1998 - 13:37:06 MDT

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