We have two proxy servers in our organisation - one to access our french branch intranet and one for our UK branch users to access the internet. Some of the users (just to be difficult) require access to both of these and are moaning that they have to manually change the IP address of the proxy each time. As far as I was initially aware, IE5.5 will only allow you to have one proxy at a time (well, they only provide one text box, don't they?)
I have been supplied with a script which supposedly will run an IF statement everytime the user enters a url . I have been told to add this file as the configuration script in internet options.But it doesnt work. Here is the script.....
/*==========================================================*/
/* this a remark */
/* <proxy.pac> */
/* 02/05/2001 */
/* == Configuration for automatic proxys */
/* auto configuration is anable from Netscape v2 and IE 3.02 */
function FindProxyForURL(url,host)
{
if (dnsDomainIs(host, ".example.fr"
|| /* International and french intranet */
dnsDomainIs(host, ".example.co.uk"
|| /* English intranet */
dnsDomainIs(host, ".example2.fr"
) /* French intranet... and so on */
{
return "PROXY 172.18.236.5:3128"; /* international proxy */
}
/* Others (internet, local intranet, etc.) */
return "PROXY 172.19.8.35:3128"; /* no proxy */
}
/* </proxy.pac> */
/*==========================================================*/
Does anybody know any way to do this this without mucking about with scripts and stuff and if not, does anybody know why this script doesnt work or have one that does.
Any help on this would be greatly appreciated
Cheers
Gary
I have been supplied with a script which supposedly will run an IF statement everytime the user enters a url . I have been told to add this file as the configuration script in internet options.But it doesnt work. Here is the script.....
/*==========================================================*/
/* this a remark */
/* <proxy.pac> */
/* 02/05/2001 */
/* == Configuration for automatic proxys */
/* auto configuration is anable from Netscape v2 and IE 3.02 */
function FindProxyForURL(url,host)
{
if (dnsDomainIs(host, ".example.fr"
dnsDomainIs(host, ".example.co.uk"
dnsDomainIs(host, ".example2.fr"
{
return "PROXY 172.18.236.5:3128"; /* international proxy */
}
/* Others (internet, local intranet, etc.) */
return "PROXY 172.19.8.35:3128"; /* no proxy */
}
/* </proxy.pac> */
/*==========================================================*/
Does anybody know any way to do this this without mucking about with scripts and stuff and if not, does anybody know why this script doesnt work or have one that does.
Any help on this would be greatly appreciated
Cheers
Gary