Re: [squid-users] Re: Show a message -- then redirect

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 25 Jan 2005 11:47:55 +0100 (CET)

On Sun, 23 Jan 2005, [ISO-8859-1] paul kölle wrote:

>> Interception proxying requires you to act as if you were the web server, so
>> you must reconstruct the full URL from the pieces found in the request and
>> connection
>>
>> In principle the data you have are:
>>
>> * Real destination IP address from the connection
>> * URL-Path from the request method
>> * Requested hostname from the Host header if there is one.
>
> The odd thing is, the URL-Path seems different if I use REDIRECT and do not
> configure the client (I'm not getting http://server.tld/path/mysite.html,
> just /path/mysite.html)

This is normal and expected. Read what I said above again.

A URL-Path is only the component after the hostname, not a complete URL.

Regards
Henrik
Received on Tue Jan 25 2005 - 03:47:57 MST

This archive was generated by hypermail pre-2.1.9 : Mon Mar 07 2005 - 12:59:36 MST