Search squid archive

Re: Can I just rewrite request url, not fetch data from real server?

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

 



> 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.
>

This is an issue with et client browser. Some are known to be rather
broken when re-trying POST requests.

All you can do is let the POSTs go through Squid or ignore the brokenness.

Amos

>
>
> 2009/1/14 John Doe <jdmls@xxxxxxxxx>:
>> ----- Original Message ----
>>
>>> From: NetSnake <netsnakecn@xxxxxxxxx>
>>> To: squid-users@xxxxxxxxxxxxxxx
>>> Sent: Wednesday, January 14, 2009 2:35:34 PM
>>> Subject:  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
>>
>>
>>
>>
>>
>



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

  Powered by Linux