Re: [squid-users] Redirector not getting the Port number in the URL.

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Mon, 04 Jun 2007 17:22:47 +0200

mån 2007-06-04 klockan 13:42 +0530 skrev Logu:
> Hi,
>
> The port number in the requested url is not available for the url rewrite
> (redirector) program, is it an expected behaviour.?

It is there.

But the URL sent to url rewriters is slightly normalized so if the port
is the default for the requested scheme then it's not sent. All
hostnames sent to the url rewriter is also lower-case. What this means
is that if you request http://WWW.ExAmPlE.cOm:80/path then
http://www.example.com/path is sent to the URL rewriter, but if you
request http://WWW.ExAmPlE.cOm:81/path then
http://www.example.com:81/path is sent.

Regards
Henrik

Received on Mon Jun 04 2007 - 09:23:00 MDT

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