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

Kinkie gkinkie at gmail.com
Fri Jul 17 08:08:02 UTC 2015


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

On Thu, Jul 16, 2015 at 5:27 PM, johnzeng <johnzeng2013 at yahoo.com> 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 at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users
>



-- 
    Francesco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20150717/71746b4c/attachment.html>


More information about the squid-users mailing list