Is the mime type defined in the http server?
application/x-ns-proxy-autoconfig pac
On 10/4/06, Aharon Schkolnik <[EMAIL PROTECTED]> wrote:
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]
--
Gil Freund, Systems Analyst
-------------------------------------------
Sysnet consulting
[EMAIL PROTECTED], http://www.sysnet.co.il
voice: +972-54-2035888, Fax: +972-8-9356026
=================================================================
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]