Search squid archive

Re: a problem about reverse proxy and $.ajax

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

 



Hi,
  What is in the squid access.log for that request?

On Thu, Jul 16, 2015 at 5:27 PM, johnzeng <johnzeng2013@xxxxxxxxx> wrote:

Hello dear All :

i am writing testing download rate program recently ,

and i hope use reverse proxy ( squid 3.5.x) too ,

but if we use reverse proxy and i found Ajax won[t succeed to download

, and success: function(html,textStatus) -- return value ( html ) is blank .


if possible , please give me some advisement .



squid config

http_port 4432 |accel| vport defaultsite=10.10.130.91
|cache_peer 127.0.0.1 parent 80 0 default name=ubuntu-lmr  |



Ajax config

$.ajax({
type: "GET",
url: load_urlv,
cache: false,
mimeType: 'text/plain; charset=x-user-defined',

beforeSend: function(){
$('#time0').html('<blink>download file...</blink>').show();
},

error: function(){
alert('Error loading XML document');
},
success: function(html,textStatus)
{

...........................

}


_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users



--
    Francesco
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users

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

  Powered by Linux