Have you tried what is said in the Squid FAQ section for Linux?
Regards
Henrik
fre 2003-01-31 klockan 14.37 skrev Mike Brentlinger:
> I searched the faq and old mailing lists but wasnt able to find anything 
> that seemed relevent. so im hopeing that someone will be kind enought to 
> help me out.
> 
> im using Squid/2.4.STABLE6 as a transparent proxy via ip redirects with 
> iptables. regarless though i encounter this issue when not using the proxy 
> as a trasnparent one too.
> 
> the issue i encounter is that certain scripts are encountered browsers 
> either stall or come back with the following
>                 ERROR
>                 The requested URL could not be retrieved
>                 While trying to retrieve the URL:
>                        <http://ola.newhorizons.com/>
>                 The following error was encountered:
>                 Connection Failed
>                 The system returned:
>                     (111) Connection refused
>                 The remote host or network may be down.
>                 Please try the request again.
> 
> the scripts in question are found in index pages some example sites are
>        http://onlineanytime.newhorizons.com/
>        http://www.rational.com
> but the general scripts in question that seem to be breaking things for me 
> are as follows.
> 
> any advice someone could provide would be greatly appreciated.
> 
> 
> 
> <!--//--><script>var PrxLC=new Date(0);var PrxModAtr=0;var PrxInst; 
> if(!PrxInst++) PrxRealOpen=window.open;function PrxOMUp(){PrxLC=new 
> Date();}function PrxNW(){return(this.window);} function 
> PrxOpen(url,nam,atr){ if(PrxLC){  var cdt=new Date();  
> cdt.setTime(cdt.getTime()-PrxLC.getTime());  if(cdt.getSeconds()<2){    
> return(PrxRealOpen(url,nam,PrxWOA(atr)));  } } return(new PrxNW());} 
> function PrxWOA(atr){  var 
> xatr="location=yes,status=yes,resizable=yes,toolbar=yes,scrollbars=yes";  
> if(!PrxModAtr) return(atr);  if(atr){    var hm;    
> hm=atr.match(/height=[0-9]+/i);    if(hm) xatr+="," + hm;    
> hm=atr.match(/width=[0-9]+/i);    if(hm) xatr+="," + hm;  }  
> return(xatr);}window.open=PrxOpen;</script>
> 
> <!--//--><script>PrxModAtr=1;</script>
> 
> <!--//--><script> function NoError(){return(true);} onerror=NoError; 
> </script>
> 
> <!--//--><script> function moveTo(){return true;}function resizeTo(){return 
> true;}</script>
> 
> 
> 
> 
> 
> 
> _________________________________________________________________
> Add photos to your e-mail with MSN 8. Get 2 months FREE*.  
> http://join.msn.com/?page=features/featuredemail
-- Henrik Nordstrom <hno@squid-cache.org> MARA Systems AB, SwedenReceived on Fri Jan 31 2003 - 07:37:04 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:13:01 MST