Search squid archive

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux