Take this pac file:
$ curl http://wpad.wws.lan/wpad.dat
function FindProxyForURL(url, host)
{
// simple hostname
if (dnsDomainLevels(host) == 0) {return "DIRECT";}
// match Host against local domains (w/ optional :port)
var dom = /(127\.\d+\.\d+\.\d+|\.wws\.lan\.?|\.local\.?)(:\d+)
Giovanni Donelli wrote:
Take this pac file:
$ curl http://wpad.wws.lan/wpad.dat
function FindProxyForURL(url, host)
{
// simple hostname
if (dnsDomainLevels(host) == 0) {return "DIRECT";}
// match Host against local domains (w/ optional :port)
var dom = /(127\.\d+\.\d+\.\d+|\.wws
I am trying to make Apache follow the same rules as the browser
On Jan 23, 2008 2:34 PM, Joe Lewis <[EMAIL PROTECTED]> wrote:
> Giovanni Donelli wrote:
> > Take this pac file:
> > $ curl http://wpad.wws.lan/wpad.dat
> > function FindProxyForURL(url, host)
> > {
> > // simple hostname
> >
Giovanni Donelli wrote:
I am trying to make Apache follow the same rules as the browser
Realize that the browser doesn't get the configurations for each website
it visits, it only configures, then runs using the same configuration
for every website.
That means it should be easy to create
On Wed, 2008-01-23 at 11:12 -0700, Joe Lewis wrote:
> Giovanni Donelli wrote:
> > I am trying to make Apache follow the same rules as the browser
> >
>
> Realize that the browser doesn't get the configurations for each website
> it visits, it only configures, then runs using the same configura
Ralf Mattes wrote:
On Wed, 2008-01-23 at 11:12 -0700, Joe Lewis wrote:
Giovanni Donelli wrote:
I am trying to make Apache follow the same rules as the browser
Realize that the browser doesn't get the configurations for each website
it visits, it only configures, then runs usi
On Wed, 2008-01-23 at 11:48 -0700, Joe Lewis wrote:
> Ralf Mattes wrote:
> > On Wed, 2008-01-23 at 11:12 -0700, Joe Lewis wrote:
> >
> >> Giovanni Donelli wrote:
> >>
> >>> I am trying to make Apache follow the same rules as the browser
> >>>
> >>>
> >> Realize that the browser do
On Jan 23, 2008 6:27 PM, Ralf Mattes <[EMAIL PROTECTED]> wrote:
> On Wed, 2008-01-23 at 11:12 -0700, Joe Lewis wrote:
> > Giovanni Donelli wrote:
> > > I am trying to make Apache follow the same rules as the browser
> > >
> >
> > Realize that the browser doesn't get the configurations for each web
Are you talking about a JS lib or a code that does what I need, support for
.pac proxy chaning?
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 ... tr