Hi.

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");
}


and put it in /var/www/html

I have defined in konqueror: 

Use the following proxy configuration URL

http://localhost/p2.pac


I then browse around, but nothing happens - no popup.
I have also tried the same thing with FireFox - same results.

On the other hand, I have a file called hi.html with the following contents:
<html>
<head>
<title>Hello</title>

<script>
alert("Hello")
</script>
</head>
</body>


When I browse to http://localhost/hi.html, I get the pop-up.

Any ideas ?


TIA





-- 
  The day is short, and the work is great,    |  Aharon Schkolnik
  and the laborers are lazy, and the reward   |  
  is great, and the Master of the house is    |  [EMAIL PROTECTED]
  impatient. - Ethics Of The Fathers Ch. 2    |  050-8724844

=================================================================
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