RE: [squid-users] .pac file/newbie guide request here

2003-12-11 Thread Sturgis, Grant
I put the .pac file on the workstations, and update it via login script.  This allows 
me to do things like:

function FindProxyForURL(url, host)
{
if (isInNet(myIpAddress(), "10.10.14.0", "255.255.255.0"))
return "PROXY 10.10.10.10:3128";
return "DIRECT";
}

which allows laptops to go home and work correctly, without a proxy server, on their 
broadband connection.

-GS

-Original Message-
From: Duane Wessels [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 11, 2003 12:35 AM
To: Renato Kalugdan
Cc: [EMAIL PROTECTED]
Subject: Re: [squid-users] .pac file/newbie guide request here




On Wed, 10 Dec 2003, Renato Kalugdan wrote:

> Hello All,
>
>
> I've just implemented Squid as a Proxy Server on a Lab setup at work.
>
> So far so good.
>
> My question pertains to .pac files
>
> Is there a guide that will allow me to comprehend this more thoroughly?
>
>
> Where would I put such a file?  On the Squid Server or on a Web Server?

You would put this file on a Web server.  Furthermore you need to make sure
that the server returns the correct content type for the URL.  You
can do it in apache like this:

   AddType application/x-ns-proxy-autoconfig .pac

Duane W.

This electronic message transmission is a PRIVATE communication which contains
information which may be confidential or privileged. The information is intended 
to be for the use of the individual or entity named above. If you are not the 
intended recipient, please be aware that any disclosure, copying, distribution 
or use of the contents of this information is prohibited. Please notify the
sender  of the delivery error by replying to this message, or notify us by
telephone (877-633-2436, ext. 0), and then delete it from your system.



Re: [squid-users] .pac file/newbie guide request here

2003-12-11 Thread Henrik Nordstrom
On Wed, 10 Dec 2003, Renato Kalugdan wrote:

> My question pertains to .pac files
> 
> Is there a guide that will allow me to comprehend this more thoroughly?

The Netscape specification is quite useable. You can find this and other
userful information from the Squid FAQ section on proxy auto
configuration. I would recommend to also look into WPAD which you can find
almost in the same place in the Squid FAQ.

> Where would I put such a file?  On the Squid Server or on a Web Server?

On a web server somewhere. This web server may be on the same server as 
Squid if you like, or some other server on your network. Or it might 
even be a file share accessible to all clients. To Squid it does 
not matter how the client finds the .pac file, just that the .pac file 
instructs the client to go to the Squid proxy when it should..

Regards
Henrik




Re: [squid-users] .pac file/newbie guide request here

2003-12-11 Thread Duane Wessels


On Wed, 10 Dec 2003, Renato Kalugdan wrote:

> Hello All,
>
>
> I've just implemented Squid as a Proxy Server on a Lab setup at work.
>
> So far so good.
>
> My question pertains to .pac files
>
> Is there a guide that will allow me to comprehend this more thoroughly?
>
>
> Where would I put such a file?  On the Squid Server or on a Web Server?

You would put this file on a Web server.  Furthermore you need to make sure
that the server returns the correct content type for the URL.  You
can do it in apache like this:

   AddType application/x-ns-proxy-autoconfig .pac

Duane W.


RE: [squid-users] .pac file/newbie guide request here

2003-12-10 Thread Fadjar Tandabawana
Dear Renato,

Refer http://home.netscape.com/eng/mozilla/2.0/relnotes/demo/proxy-live.html

Add the .pac in the some web server.

Regards,
Fadjar Tandabawana
 

> -Original Message-
> From: Renato Kalugdan [mailto:[EMAIL PROTECTED] 
> Sent: 11 Desember 2003 9:27
> To: [EMAIL PROTECTED]
> Subject: [squid-users] .pac file/newbie guide request here
> 
> Hello All,
> 
> 
> I've just implemented Squid as a Proxy Server on a Lab setup at work.
> 
> So far so good.
> 
> My question pertains to .pac files
> 
> Is there a guide that will allow me to comprehend this more 
> thoroughly?
> 
> 
> Where would I put such a file?  On the Squid Server or on a 
> Web Server?
> 
> Please help
> 
> Regards,
> 
> Renato
> 
> 
> 
> 
> 
> 


[squid-users] .pac file/newbie guide request here

2003-12-10 Thread Renato Kalugdan
Hello All,


I've just implemented Squid as a Proxy Server on a Lab setup at work.

So far so good.

My question pertains to .pac files

Is there a guide that will allow me to comprehend this more thoroughly?


Where would I put such a file?  On the Squid Server or on a Web Server?

Please help

Regards,

Renato