[squid-users] a problem about reverse proxy and $.ajax

johnzeng johnzeng2013 at yahoo.com
Thu Jul 16 15:27:58 UTC 2015


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)
{

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

}




More information about the squid-users mailing list