Re: mod_proxy chaining with a .pac file

2008-01-24 Thread Ralf Mattes
On Wed, 2008-01-23 at 22:19 +, 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
 
 



Re: mod_proxy chaining with a .pac file

2008-01-24 Thread Giovanni Donelli
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 [EMAIL PROTECTED] wrote:

 On Wed, 2008-01-23 at 22:19 +, 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