Return-Path: Delivered-To: apmail-httpd-modules-dev-archive@locus.apache.org Received: (qmail 6933 invoked from network); 24 Jan 2008 13:55:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Jan 2008 13:55:20 -0000 Received: (qmail 87047 invoked by uid 500); 24 Jan 2008 13:55:09 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 87015 invoked by uid 500); 24 Jan 2008 13:55:09 -0000 Mailing-List: contact modules-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: modules-dev@httpd.apache.org Delivered-To: mailing list modules-dev@httpd.apache.org Received: (qmail 87006 invoked by uid 99); 24 Jan 2008 13:55:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jan 2008 05:55:09 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of giovanni.donelli@gmail.com designates 209.85.146.180 as permitted sender) Received: from [209.85.146.180] (HELO wa-out-1112.google.com) (209.85.146.180) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jan 2008 13:54:44 +0000 Received: by wa-out-1112.google.com with SMTP id k22so426888waf.0 for ; Thu, 24 Jan 2008 05:54:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=3IQFVHYaJsKrP5DkeoP17gNYfa6++xQKcfC8tEr+zvw=; b=QKn+uzD/dhaWGWnlMQRTUlsRvwtsnWQh/nqBdBJuyzylE0/U8AXJXIywyt0OMJrq7T9kYij9+rBArYMFputC3m3pSih1F6jqfUfjUJCEaGoz1EP57G++qA0b2eSsmKLRUJTy8s4SxPUjfMCm7Ze4xHOUrc3NWjoPZnSamUesoyk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=Kx8zoO88Dhf2jwjTAnv7jE+dmOENPAMHFAQOH2iCui8VAYD476yPeUuhotX4j0tG7ZCGKXXKIi6CELKDew3n729BUmD/St0a6DQTyNu3eUGvvibxl5SWS0/ntgOqkEFprDmvb/KxI/wCD58L9N87BqeoDpZCYZRcQCxurei7KHI= Received: by 10.114.198.1 with SMTP id v1mr789197waf.89.1201182890800; Thu, 24 Jan 2008 05:54:50 -0800 (PST) Received: by 10.115.108.14 with HTTP; Thu, 24 Jan 2008 05:54:50 -0800 (PST) Message-ID: Date: Thu, 24 Jan 2008 13:54:50 +0000 From: "Giovanni Donelli" To: modules-dev@httpd.apache.org, rm@seid-online.de Subject: Re: mod_proxy chaining with a .pac file In-Reply-To: <1201179025.6456.1.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_59531_12062164.1201182890805" References: <4797506B.4060000@joe-lewis.com> <479783A8.7080404@joe-lewis.com> <1201112856.6570.2.camel@localhost.localdomain> <47978BEF.2030303@joe-lewis.com> <1201114591.6570.6.camel@localhost.localdomain> <1201179025.6456.1.camel@localhost.localdomain> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_59531_12062164.1201182890805 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Great. Thanks! This solve 50% of the problem. The other problem is to actually plug this into mod_proxy. Is there a hook a can use to override the connection to the remote server? What do you guys suggest? thanks! On Jan 24, 2008 12:50 PM, Ralf Mattes wrote: > On Wed, 2008-01-23 at 22:19 +0000, Giovanni Donelli wrote: > > Are you talking about a JS lib or a code that does what I need, support > for > > .pac proxy chaning? > > The later. > Sorry, that library wasn't linked to from your original post, but it can > be found on the wikipedia page. Here's a direct link: > > http://code.google.com/p/pacparser/ > > >From browsing the documentation it looks like it does all you need. > > HTH RalfD > > > > As with regards with JS I was going to use the WebKit's JavaScriptCore. > > > > > > > There _IS_ a library (C and python(?) interface) - downloadable from > the > > > google code link posted in the first message ... trivial to link into > an > > > Apache module. AFAIK it uses the mozilla JS code. > > > > > > Cheers, RalfD > > > > > > > Joe > > > > > > > > ------=_Part_59531_12062164.1201182890805--