Aha,


Good man, thank you! (And thanks to you, too Jason).



John





 --- On Thu 12/14, Henrik Nordstrom < [EMAIL PROTECTED] > wrote:

From: Henrik Nordstrom [mailto: [EMAIL PROTECTED]

To: [EMAIL PROTECTED]

     Cc: [email protected]

Date: Thu, 14 Dec 2006 15:11:35 +0100

Subject: Re: [squid-users] Re: proxy.pac 'and' statement



tor 2006-12-14 klockan 08:52 -0500 skrev John Halfpenny:> Well spotted. Ok, I 
put the quotes back in (!) but it still won't work. What I want to do is IF 
this AND this THEN that> > But i can't find anything which notes how to do it!> 
> We now have- > > if (shExpMatch(url, "https://*.xyz.com";)) && (myIpAddress() 
== "10.1.4.4"){>    return "DIRECT";>  }> > Anyone have any experience in 
this?The above shExpMatch only matches https://[anything].xyz.com, 
nothttps://www.xyz.com/image.gif etc..Tryif (shExpMatch(host, "*.xyz.com) && 
myIpAddress() == "10.1.4.4") {...RegardsHenrikAttachment: signature.asc  
(0.31KB)

_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!


Reply via email to