Re: [squid-users] Can I just rewrite request url, not fetch data from real server?

From: Dean A. Welbourn <welbournd_at_clannet.co.uk>
Date: Thu, 15 Jan 2009 09:27:47 +0000 (GMT)

Hi,

Can you just give a little detail on how you would get this to work with lighttpd as it might be something we are interested in.

many thanks,

Dean

----- Original Message -----
From: "NetSnake" <netsnakecn_at_gmail.com>
To: "John Doe" <jdmls_at_yahoo.com>
Cc: squid-users_at_squid-cache.org
Sent: 14 January 2009 14:24:30 o'clock (GMT) Europe/London
Subject: Re: [squid-users] Can I just rewrite request url, not fetch data from real server?

Yes, thanks.
it worked in some condition, but it can only used for GET method, if
client post some data use POST method, those data is missing.

2009/1/14 John Doe <jdmls_at_yahoo.com>:
> ----- Original Message ----
>
>> From: NetSnake <netsnakecn_at_gmail.com>
>> To: squid-users_at_squid-cache.org
>> Sent: Wednesday, January 14, 2009 2:35:34 PM
>> Subject: [squid-users] Can I just rewrite request url, not fetch data from real server?
>>
>> hi, all
>> I just want to use squid as a redirector:
>> rewrite client's request url, and then client access the real server
>> directly, squid need not fetch any data from real server.
>> I use url_rewrite_program to do this, but looks like squid still fetch
>> data from real server, and then send those data to client.
>> Is there any suggestion?
>>
>> thanks a lots.
>
> Does your url_rewrite helper return '302:http://...' ?
> And maybe you could just use something like lighttpd if you just need redirects...?
>
> JD
>
>
>
>
>
Received on Thu Jan 15 2009 - 09:27:55 MST

This archive was generated by hypermail 2.2.0 : Thu Jan 15 2009 - 12:00:02 MST