On 10/4/06, Aharon Schkolnik <[EMAIL PROTECTED]> wrote:
I am trying to set up a PAC (proxy auto-configuration) file. I have not had
any success, so I am trying to debug.

I have created a file called p2.pac with the following content:

function FindProxyForURL(url, host)
{
  alert("Hello");
}

Note that Firefox (v1.5) doesn't do a regular alert from
PAC-files. You have to open the JavaScript Console and look for

 PAC-alert: Hello

and put it in /var/www/html

I have defined in konqueror:

Use the following proxy configuration URL

http://localhost/p2.pac

Also check in about:config the values for
network.proxy.type  (should be 2)
network.proxy.autoconfig_url

and do

wget http://localhost/p2.pac

to see if your web-server actually servers the file. BTW, the PAC file
can also be a local file:///...; no need for a web-server. - Daniel

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to