Re: [squid-users] proxy.pac ipv6-addresses

2010-02-18 Thread Amos Jeffries
Henrik Nordström wrote: tor 2010-02-18 klockan 10:32 +0100 skrev tsl...@agilolfinger.de: How has the "return PROXY" statement in .pac-file to be crafted, for returning a IPV6-address? Not sure there is a standard syntax for that. Use of DNS name is recommended. Also depending on your brow

Re: [squid-users] proxy.pac ipv6-addresses

2010-02-18 Thread Henrik Nordström
tor 2010-02-18 klockan 10:32 +0100 skrev tsl...@agilolfinger.de: > How has the "return PROXY" statement in .pac-file to be crafted, for > returning a IPV6-address? Not sure there is a standard syntax for that. Use of DNS name is recommended. Regards Henrik

[squid-users] proxy.pac ipv6-addresses

2010-02-18 Thread tslbai
Hello list, sorry for posting my question here in the list. I know, that this is not a squid issue, but i hope to get hint here. How has the "return PROXY" statement in .pac-file to be crafted, for returning a IPV6-address? I tried { return "PROXY 2001:DB8:484:2FB::1:8080" } { return "PROXY [200

Re: [squid-users] proxy.pac + squid + iexplore issue

2009-05-27 Thread Chris Robertson
Gonzalo PG wrote: Hello, I'm running Squid Cache: Version 3.0.STABLE13 with ntlm auth, using samba-3.2.10 and winbind, also SquidGuard 1.4 We are going to improve our structure with "load balancing" + "hight availability" with two servers running squid and a proxy.pac file (I would preffer to

[squid-users] proxy.pac + squid + iexplore issue

2009-05-27 Thread Gonzalo PG
Hello, I'm running Squid Cache: Version 3.0.STABLE13 with ntlm auth, using samba-3.2.10 and winbind, also SquidGuard 1.4 We are going to improve our structure with "load balancing" + "hight availability" with two servers running squid and a proxy.pac file (I would preffer to do this with LVS + H

[squid-users] proxy.pac exclude one host:port

2007-10-17 Thread Corey Van Allen
I've run into an issue with one site. I need to exclude it from from proxy.pac. The problem is the site is in the format http://example.com:443 and I have been unsuccessful in excluding it. Here a few snippets from my proxy.pac that I've tried. if (url.substring(0, 5) == "http:") { if (dnsDom

RE: [squid-users] Wiki help for WPAD/PAC stuff (was Re: [squid-users] proxy.pac config)

2007-05-16 Thread Henrik Nordstrom
tis 2007-05-15 klockan 16:56 -0700 skrev Jeff Smith: > However, if the browser is not configured to use a PAC > file but a PAC file is delivered it brings up a > Security Alert because the browser never requested it. > I know the old Netscape browsers did this but am not > sure about IE. What the

Re: [squid-users] Wiki help for WPAD/PAC stuff (was Re: [squid-users] proxy.pac config)

2007-05-15 Thread K K
I'll take a look at the updated Wiki later today. On 5/15/07, SSCR Internet Admin <[EMAIL PROTECTED]> wrote: >>However, if the browser is not configured to use a PAC >>file but a PAC file is delivered it brings up a >>Security Alert because the browser never requested it. >>I know the old Netsca

RE: [squid-users] Wiki help for WPAD/PAC stuff (was Re: [squid-users] proxy.pac config)

2007-05-15 Thread SSCR Internet Admin
accept it happily by clicking OK, if not they don't have access.. :) -Original Message- From: Jeff Smith [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 16, 2007 7:56 AM To: squid-users@squid-cache.org Subject: RE: [squid-users] Wiki help for WPAD/PAC stuff (was Re: [squid-users] p

RE: [squid-users] Wiki help for WPAD/PAC stuff (was Re: [squid-users] proxy.pac config)

2007-05-15 Thread Jeff Smith
#x27;t know if Php or > javascript can do this. > > Regards > > -Original Message- > From: Adrian Chadd [mailto:[EMAIL PROTECTED] > Sent: Saturday, May 12, 2007 4:47 PM > To: squid-users@squid-cache.org > Subject: [squid-users] Wiki help for WPAD/PAC stuff > (was R

RE: [squid-users] Wiki help for WPAD/PAC stuff (was Re: [squid-users] proxy.pac config)

2007-05-13 Thread SSCR Internet Admin
r WPAD/PAC stuff (was Re: [squid-users] proxy.pac config) I've started building the WPAD and ProxyPac sections in the Wiki and I'd really, really appreciate any help I can get in fleshing out the content. I've implemented both of them enough in a small-sized network to know they mostly

RE: [squid-users] proxy.pac config

2007-05-12 Thread SSCR Internet Admin
Hi Adrian, Maybe a VB script or active X that will configure browsers... Regards... -Original Message- From: Adrian Chadd [mailto:[EMAIL PROTECTED] Sent: Saturday, May 12, 2007 4:49 PM To: SSCR Internet Admin Cc: squid-users@squid-cache.org Subject: Re: [squid-users] proxy.pac config

Re: [squid-users] proxy.pac config

2007-05-12 Thread Adrian Chadd
On Sat, May 12, 2007, SSCR Internet Admin wrote: > Last night when in bed thinking over this, ive come up an idea. When a user > try to browse directly (port 80), iptables should redirect those traffic to > a specific part on your site where it magically configures the browsers to > use PAC. So

[squid-users] Wiki help for WPAD/PAC stuff (was Re: [squid-users] proxy.pac config)

2007-05-12 Thread Adrian Chadd
I've started building the WPAD and ProxyPac sections in the Wiki and I'd really, really appreciate any help I can get in fleshing out the content. I've implemented both of them enough in a small-sized network to know they mostly work but I've not got the operational experience some of you have. I'

RE: [squid-users] proxy.pac config

2007-05-11 Thread SSCR Internet Admin
knows someone has already done this (not me, I only understand programming algo but not into coding). -Original Message- From: K K [mailto:[EMAIL PROTECTED] Sent: Saturday, May 12, 2007 2:04 AM To: squid-users@squid-cache.org Subject: Re: [squid-users] proxy.pac config On 5/11/07, Adrian

Re: [squid-users] proxy.pac config

2007-05-11 Thread K K
On 5/11/07, Adrian Chadd <[EMAIL PROTECTED]> wrote: You can turn that cache behaviour off. I'll hunt around for the instructions to tell IE not to cache proxy.pac lookups and add it to the documentation. That'd be handy. > (P.S. Have you heard about the magical PAC refresh option in Microsoft

Re: [squid-users] proxy.pac config

2007-05-10 Thread Adrian Chadd
On Fri, May 11, 2007, Pitti, Raul wrote: > pls. look at this .reg file > http://www.globaltecsa.com/squid/IE-auto-proxy-cache.reg > hope this helps! Whats it do? Does this turn off the proxy result cache? Adrian

Re: [squid-users] proxy.pac config

2007-05-10 Thread Pitti, Raul
Adrian Chadd wrote: On Thu, May 10, 2007, K K wrote: On 5/10/07, Adrian Chadd <[EMAIL PROTECTED]> wrote: There's plenty of examples of proxy.pac file based load balancing and failover. It's important to keep in mind that some PAC behavior, including failover, is different for different brows

Re: [squid-users] proxy.pac config

2007-05-10 Thread Adrian Chadd
On Thu, May 10, 2007, K K wrote: > On 5/10/07, Adrian Chadd <[EMAIL PROTECTED]> wrote: > >There's plenty of examples of proxy.pac file based load balancing and > >failover. > > It's important to keep in mind that some PAC behavior, including > failover, is different for different browsers and bro

Re: [squid-users] proxy.pac config

2007-05-10 Thread K K
On 5/10/07, Adrian Chadd <[EMAIL PROTECTED]> wrote: There's plenty of examples of proxy.pac file based load balancing and failover. It's important to keep in mind that some PAC behavior, including failover, is different for different browsers and browser versions -- this particularly applies to

Re: [squid-users] proxy.pac config

2007-05-10 Thread Pitti, Raul
well, you can be sure i'll provide a fully working example as soon as I get my config working. :-D (just to prevent others to waste as much time as myself.) RP Adrian Chadd wrote: On Fri, May 11, 2007, SSCR Internet Admin wrote: Thanks Adrian it works! I could see that it shift to the other

Re: [squid-users] proxy.pac config

2007-05-10 Thread Adrian Chadd
On Fri, May 11, 2007, SSCR Internet Admin wrote: > Thanks Adrian it works! I could see that it shift to the other server when > I manually shutdown squid. > > Now, this could be a harder (for a noob like me). What if I have 500 > workstation, so I have to config each browser to use my new pac f

RE: [squid-users] proxy.pac config

2007-05-10 Thread SSCR Internet Admin
all browser to use pac. Like blindly install pac on their browser when they go directly to port 80. Thanks -Original Message- From: Adrian Chadd [mailto:[EMAIL PROTECTED] Sent: Friday, May 11, 2007 9:37 AM To: SSCR Internet Admin Cc: squid-users@squid-cache.org Subject: Re: [squid-users

Re: [squid-users] proxy.pac config

2007-05-10 Thread Adrian Chadd
On Fri, May 11, 2007, SSCR Internet Admin wrote: > Hi, > > > > I wanted to ask if this is possible. Ive just installed a second squid > server and was wondering if I could create somewhat a loadbalancing without > using TCP-loadbalancer or HA by using a proxy.pac that is capable of > detecting

[squid-users] proxy.pac config

2007-05-10 Thread SSCR Internet Admin
Hi, I wanted to ask if this is possible. Ive just installed a second squid server and was wondering if I could create somewhat a loadbalancing without using TCP-loadbalancer or HA by using a proxy.pac that is capable of detecting a busy/failed server and connect to the next available proxy ser

Re: [squid-users] proxy.pac creation

2007-01-11 Thread Henrik Nordstrom
tor 2007-01-11 klockan 13:02 -0800 skrev Paul Johnson: > Is there a relatively idiotproof way to make a proxy.pac? I've tried and > failed before. Start simple, and read the manual. Some experience in programming JavaScript helps... Regards Henrik signature.asc Description: Detta är en digit

[squid-users] proxy.pac creation

2007-01-11 Thread Paul Johnson
Henrik Nordstrom wrote: > tor 2007-01-11 klockan 09:54 +0100 skrev Jakob Curdes: > >> Previously, without proxy, he could >> type in a domain without the "www" and get the content. Now if he does >> the same, he gets a squid error. > > I am told that one way to restore the automated logics done

[squid-users] proxy.pac 'and' statement

2006-12-14 Thread John Halfpenny
Hi All. For certain reasons I would like a specific machine to go direct around squid to site xyz.com, this doesn't seem to work in the proxy.pac- any idea why? if (shExpMatch(url, "https://*.xyz.com)) && (myIpAddress() == "10.1.4.4"){ return "DIRECT"; } TIA John __

[squid-users] proxy.pac file problem

2006-09-01 Thread Raj
Hi All, I am running Version 2.5.STABLE10 on an Open BSD operating system. I am having problems with proxy.pac file. I have the following proxy.pac file. if (isInNet(myIpAddress(), "172.26.96.0", "255.255.240.0")) return "PROXY 172. 26.11.50:3128; PROXY 172.26.11.150:3128"; if (isInNet(myIpAddr

Re: [squid-users] proxy.pac file

2006-08-30 Thread Christoph Haas
On Tuesday 29 August 2006 23:30, Kevin wrote: > On 8/29/06, Raj <[EMAIL PROTECTED]> wrote: > > I am running squid version 2.5.stable10. All the users use the > > following proxy.pac file > > I do a lot with PAC, but never tried variables for return lines. We are doing something similar here. And i

Re: [squid-users] proxy.pac file

2006-08-29 Thread Jeff Smith
If the Browsers are IE you need to disable automatic proxy caching. See http://support.microsoft.com/?kbid=271361 Kind Regards Jeff Smith --- Raj <[EMAIL PROTECTED]> wrote: > Hi all, > > I am running squid version 2.5.stable10. All the > users use the > following proxy.pac file (browser point

Re: [squid-users] proxy.pac file

2006-08-29 Thread Kevin
On 8/29/06, Raj <[EMAIL PROTECTED]> wrote: I am running squid version 2.5.stable10. All the users use the following proxy.pac file I do a lot with PAC, but never tried variables for return lines. Rather, I've moved much of the intelligence into the server where the PAC script is hosted. // V

Re: [squid-users] proxy.pac file

2006-08-29 Thread Christoph Haas
Hi, Raj... On Tuesday 29 August 2006 11:38, Raj wrote: > I am running squid version 2.5.stable10. All the users use the > following proxy.pac file (browser pointing to the following proxy.pac > file). > > p3 = "PROXY proxy03.domain.com:3128"; > p4 = "PROXY proxy04.domain.com:3128"; > > p34 = p3 +

[squid-users] proxy.pac file

2006-08-29 Thread Raj
Hi all, I am running squid version 2.5.stable10. All the users use the following proxy.pac file (browser pointing to the following proxy.pac file). p3 = "PROXY proxy03.domain.com:3128"; p4 = "PROXY proxy04.domain.com:3128"; p34 = p3 + "; " + p4; p43 = p4 + "; " + p3; function FindProxyForURL(u

RE: [squid-users] proxy.pac

2006-04-19 Thread Henrik Nordstrom
tis 2006-04-18 klockan 20:42 +0200 skrev Joost de Heer: > I think it uses the cached proxy.pac. Yes, but it is almost trivial to make the cached proxy.pac instruct the browser to go direct when not connected to the office network. Regards Henrik signature.asc Description: Detta är en digitalt

RE: [squid-users] proxy.pac

2006-04-18 Thread trainier
Yes, it does. It won't always find a cached version though. In either case, it still ends up direct. "Joost de Heer" <[EMAIL PROTECTED]> 04/18/2006 02:42 PM Please respond to [EMAIL PROTECTED] To [EMAIL PROTECTED] cc squid-users@squid-cache.org Subject RE: [s

RE: [squid-users] proxy.pac

2006-04-18 Thread Joost de Heer
[EMAIL PROTECTED] wrote: > Not true at all. The web browser tries to access the configuration > script. If it doesn't get to it, the request is submitted directly. > We wouldn't have been able to use the functionality otherwise. I think it uses the cached proxy.pac. All out pac's include somet

RE: [squid-users] proxy.pac

2006-04-18 Thread trainier
Not true at all. The web browser tries to access the configuration script. If it doesn't get to it, the request is submitted directly. We wouldn't have been able to use the functionality otherwise. "Jason Gauthier" <[EMAIL PROTECTED]> wrote on 04/18/2006 12:45:29 PM: > > > > Yes, the truncat

RE: [squid-users] proxy.pac

2006-04-18 Thread Jason Gauthier
> > Yes, the truncating problem was simple to work around. Just > copy proxy.pac to proxy.pa. > > I take the autodiscovery comment back about not being > supported in other browsers. > > I stand by my recommendation, however, to use the > configuration script, as opposed to autodiscovery. M

Re: [squid-users] proxy.pac

2006-04-18 Thread Henrik Nordstrom
tis 2006-04-18 klockan 09:24 -0400 skrev [EMAIL PROTECTED]: > It's also important to note that the IETF has discontinued efforts to > standardize WPAD. They did so several years ago. I am not sure it was ever targeted for standardization. It was initially submitted to the WREC working group as

Re: [squid-users] proxy.pac

2006-04-18 Thread trainier
Yes, the truncating problem was simple to work around. Just copy proxy.pac to proxy.pa. I take the autodiscovery comment back about not being supported in other browsers. I stand by my recommendation, however, to use the configuration script, as opposed to autodiscovery. Merton Campbell Croc

Re: [squid-users] proxy.pac

2006-04-18 Thread Meadele Mathieu
Hello Paul, WCCP might be what you are searching for. Googlize for WCCP, or search on the Cisco web site for a deep explanation. Regards, Mathieu. dharam paul a écrit : > Hi, > Here is a newbie not very technical trying to > implement a proxy pac system where if the proxy dies > the Browser con

Re: [squid-users] proxy.pac

2006-04-18 Thread trainier
I think it's important to note that WPAD (Proxy Autodiscovery) is a hosed implementation in Internet Explorer. You'll notice that few other browsers even have the functionality. WPAD, ("Automatically Detect Settings" check box in IE) was established to either set a DNS entry for wpad.domain.com

[squid-users] proxy.pac

2006-04-18 Thread dharam paul
Hi, Here is a newbie not very technical trying to implement a proxy pac system where if the proxy dies the Browser connects directly to the internet. Help on this is requested please. Regards __ Yahoo! India Matrimony: Find

Re: [squid-users] proxy.pac help

2006-03-18 Thread Bill Jacqmein
Raj, The below should work. Assuming the isInNet is working properly. I would leave the if statement out and just start with returning the Proxy statements if possible. Eliminate systems by just not pointing them to the proxy.pac Regards, Bill // Assign Proxy based on I

Re: [squid-users] proxy.pac help

2006-03-18 Thread Mark Elsen
> Hi All, > > I am running Squid 2.5.STABLE10. All the clients in our company use > proxy.pac file in the browser settings. I need some help with the > proxy.pac file. At the moment I have the following configuration: > > // Assign Proxy based on IP Address of Client > if (isInNet(myIpAddress(),

[squid-users] proxy.pac help

2006-03-18 Thread Raj
Hi All, I am running Squid 2.5.STABLE10. All the clients in our company use proxy.pac file in the browser settings. I need some help with the proxy.pac file. At the moment I have the following configuration: // Assign Proxy based on IP Address of Client if (isInNet(myIpAddress(), "172.16.96.0"

Re: [squid-users] proxy.pac

2005-08-02 Thread trainier
gt; cc squid-users@squid-cache.org Subject Re: [squid-users] proxy.pac On Mon, 1 Aug 2005, Rodrigo A B Freire wrote: >We use both WPAD and PAC... Inclusive, setting the WPAD in DHCP. No problem > at all, no truncated requests in the access.log. WPAD worked reasonably well

Re: [squid-users] proxy.pac

2005-08-02 Thread trainier
"Kevin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: Sent: Monday, August 01, 2005 8:25 PM Subject: Re: [squid-users] proxy.pac On 8/1/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I'd reply to the question sent to the list, but I deleted it alread

Re: [squid-users] proxy.pac

2005-08-02 Thread trainier
Kevin <[EMAIL PROTECTED]> To "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> cc squid-users@squid-cache.org Subject Re: [squid-users] proxy.pac On 8/1/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I'd reply to the question sent to the list, but I deleted

Re: [squid-users] proxy.pac

2005-08-01 Thread Merton Campbell Crockett
URN. > > - Original Message - From: "Kevin" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Cc: > Sent: Monday, August 01, 2005 8:25 PM > Subject: Re: [squid-users] proxy.pac > > > On 8/1/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: &g

Re: [squid-users] proxy.pac

2005-08-01 Thread Rodrigo A B Freire
gt; To: <[EMAIL PROTECTED]> Cc: Sent: Monday, August 01, 2005 8:25 PM Subject: Re: [squid-users] proxy.pac On 8/1/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I'd reply to the question sent to the list, but I deleted it already. There's a bug in IE that truncates the last c

Re: [squid-users] proxy.pac

2005-08-01 Thread Kevin
On 8/1/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I'd reply to the question sent to the list, but I deleted it already. > > There's a bug in IE that truncates the last character of the > autoconfiguration file. If I'm reading this right, you're saying that this problem only happens when u

[squid-users] proxy.pac

2005-08-01 Thread trainier
I'd reply to the question sent to the list, but I deleted it already. There's a bug in IE that truncates the last character of the autoconfiguration file. The problem is the packet which requests that file, sometimes get's fragmented, not always. This essentially causes IE to request two files:

Re: [squid-users] Proxy.pac syntax

2004-08-15 Thread Hendrik Voigtländer
Thomas-Martin Seck wrote: * Henrik Nordstrom ([EMAIL PROTECTED]): On Sat, 14 Aug 2004, Thomas-Martin Seck wrote: If you want IE to use passive mode, you need to configure it within the registry. Basically, all you need to do is emulating the manual setting of "(Do not) enable folder view for FT

Re: [squid-users] Proxy.pac syntax

2004-08-15 Thread Thomas-Martin Seck
* Henrik Nordstrom ([EMAIL PROTECTED]): > On Sat, 14 Aug 2004, Thomas-Martin Seck wrote: > > >If you want IE to use passive mode, you need to configure it within the > >registry. Basically, all you need to do is emulating the manual setting > >of "(Do not) enable folder view for FTP sites" and

Re: [squid-users] Proxy.pac syntax

2004-08-14 Thread Henrik Nordstrom
On Sat, 14 Aug 2004, Thomas-Martin Seck wrote: If you want IE to use passive mode, you need to configure it within the registry. Basically, all you need to do is emulating the manual setting of "(Do not) enable folder view for FTP sites" and "Use passive FTP (for firewall ...)", see

Re: [squid-users] Proxy.pac syntax

2004-08-14 Thread Thomas-Martin Seck
* Robert Weininger ([EMAIL PROTECTED]): [Please do not post a new message to the list by replying to another, completely unrelated one, it messes threading of mail within my mailreader. Thanks!] > i search the systax of a "proxy.pac" Configuration-Script for IE. > i must change the FTP-Transfer t

Re: [squid-users] Proxy.pac syntax

2004-08-14 Thread Merton Campbell Crockett
On Sat, 14 Aug 2004, Robert Weininger wrote: > Hello squid useres, > > > i search the systax of a "proxy.pac" Configuration-Script for IE. > i must change the FTP-Transfer to "passive FTP" for over 400 Useres! In a "proxy.pac" configuration script, you can only define how a browser accesses con

[squid-users] Proxy.pac syntax

2004-08-14 Thread Robert Weininger
Hello squid useres, i search the systax of a "proxy.pac" Configuration-Script for IE. i must change the FTP-Transfer to "passive FTP" for over 400 Useres! regards Robert

RE: [squid-users] Proxy.pac and DIRECT (not using the Proxy)

2004-06-01 Thread David Brodbeck
> -Original Message- > From: Krakovic, Roman [mailto:[EMAIL PROTECTED] > !! > I can use DIRECT in my proxy.pac too for www.otz.de, but a > can write DIRECT > for every > banner's website in the proxy.pac.file > !!!

[squid-users] Proxy.pac and DIRECT (not using the Proxy)

2004-06-01 Thread Krakovic, Roman
The problem is not a squid problem, I agree... but it could be solver thru squid .. Everything works ...everybody uses a proxy.pac file, without pac file no access ... I try to explain it once more : There are some websites with FREE access (i.E. websites of our company and many more ..) Some of

RE: [squid-users] Proxy.pac and DIRECT (not using the Proxy)

2004-06-01 Thread Elsen Marc
> > Squid 3 : > We have to authenticate all users - but some websites > shoult be FREE (without login). > > I put a DIRECT-Line for such Websites in our proxy.pac. > It works, but some pages include some HTML-Code from > other Sites - which are not free. So the user has to > authenticate the

Re: [squid-users] Proxy.pac and DIRECT (not using the Proxy)

2004-06-01 Thread Muthukumar
> How can i tell to my IE not to use the Proxy for the whole > Website ? So your requirement is on IE not in Squid. :) What is your IE version? In I.E 6.0 version,if we go the tools > interner options > connections > lan settings > proxy server , there is an Advanced option with Do not use th

[squid-users] Proxy.pac and DIRECT (not using the Proxy)

2004-06-01 Thread Krakovic, Roman
Squid 3 : We have to authenticate all users - but some websites shoult be FREE (without login). I put a DIRECT-Line for such Websites in our proxy.pac. It works, but some pages include some HTML-Code from other Sites - which are not free. So the user has to authenticate the comercial banner. Ho

RE: [squid-users] Proxy.pac Port

2004-05-06 Thread David Brodbeck
> -Original Message- > From: Matt [mailto:[EMAIL PROTECTED] > function FindProxyForURL(url, host) > { > if (url.substring(0, 5) == "http:") { > return "PROXY my.proxy:8080"; > } > else { > return "DIRECT"; > } > } > > for instance the above wont

Re: [squid-users] Proxy.pac Port

2004-05-05 Thread Henrik Nordstrom
On Thu, 6 May 2004, Matt wrote: > Is there a way with proxy.pac file to redirect all port 80 traffic to a > proxy but not any other traffic? > > function FindProxyForURL(url, host) > { > if (url.substring(0, 5) == "http:") { try replace that line by if (url.port = 80) { Not sur

[squid-users] Proxy.pac Port

2004-05-05 Thread Matt
Is there a way with proxy.pac file to redirect all port 80 traffic to a proxy but not any other traffic? function FindProxyForURL(url, host) { if (url.substring(0, 5) == "http:") { return "PROXY my.proxy:8080"; } else { return "DIRECT"; } } for instance

Re: [squid-users] proxy.pac-Bug in IE?

2004-01-03 Thread Florian Effenberger
Hello everyone, thanks for your reply! I think I have found a solution: function FindProxyForURL(url, host) { if (isPlainHostName(host)) return "DIRECT"; if (shExpMatch( host, "*.effenberger")|| shExpMatch(host,

Re: [squid-users] proxy.pac-Bug in IE?

2004-01-02 Thread Duane Wessels
On Thu, 1 Jan 2004, Florian Effenberger wrote: > Hi there, > > I have the following proxy.pac file: > > === > function FindProxyForURL(url, host) > { > if (isPlainHostName(host) || > dnsDomainIs(host, ".effenberger")) > return "DIRECT"; > else >

[squid-users] proxy.pac-Bug in IE?

2004-01-01 Thread Florian Effenberger
Hi there, I have the following proxy.pac file: === function FindProxyForURL(url, host) { if (isPlainHostName(host) || dnsDomainIs(host, ".effenberger")) return "DIRECT"; else return "PROXY nibbler.effenberger:3128"; } === What I wan

RE: [squid-users] proxy.pac - proxy autoconfiguration problem

2003-10-10 Thread Damian-Grint Philip
Don't forget IE has separate proxy settings for each connection listed in the Connections screen - The default is LAN > -Original Message- > From: Marc Dreher [mailto:[EMAIL PROTECTED] > Sent: 09 October 2003 17:17 > To: [EMAIL PROTECTED] > Subject: [squid-user

[squid-users] proxy.pac - proxy autoconfiguration problem

2003-10-09 Thread Marc Dreher
Hi everybody, I have a problem which is driving me nuts. It is not really squid related but involves quid :-) We are using a proxy auto configuration file to control access to different urls. the function FindProxyForURL starts as follows: // get Client IP var userIp = myIpAddress (); then lat

[squid-users] proxy.pac direct conf

2003-08-14 Thread MiikaT
Hi, I have proxy.pac setup for ie, which has worked ok for the time being (clients use proxy when in defined subnet). Now I need to exclude some ip's from proxied hosts, something similiar like in IE's "Do not use proxy for addresses beginning...". Basically client's should go directly to speci

Re: [squid-users] proxy.pac direct conf

2003-08-12 Thread Marko Sakkos
- Original Message - From: "MiikaT" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 12, 2003 10:28 AM Subject: [squid-users] proxy.pac direct conf > Hi, > > I have proxy.pac setup for ie, which has worked ok for the time being (clie

Re: [squid-users] Proxy.pac

2003-05-29 Thread Schelstraete Bart
Mauro wrote: I've a proxy.pac which is like this function FindProxyForURL(url, host) { // controllo se viene inserito un host non appartente a nessun Dominio if (isPlainHostName(host) || ... // se

Re: [squid-users] Proxy.pac

2003-05-29 Thread Henrik Nordstrom
ons 2003-05-28 klockan 16.09 skrev Mauro: > return "PROXY xx.xx.xx.5:3128; PROXY xx.xx.xx.1:3128; DIRECT"; > } > I though that the second Proxy could be used as backup in case the primary > was downbut analyzing the backup logs I've discovered that it works as > well, also if the

[squid-users] Proxy.pac

2003-05-29 Thread Mauro
I've a proxy.pac which is like this function FindProxyForURL(url, host) { // controllo se viene inserito un host non appartente a nessun Dominio if (isPlainHostName(host) || ... // se vengono