> Hello:
>
> RMS wrote,
> > Hello All,
> >
> > I am trying to setup autoconfig proxt setup script. From documants, I
> > have done following, but it seems that it is not working. Proxy is
> > Squid and Web server is Apache.
>
> > 1. Created a file proxy.pac in ServerRot directory i.e. /etc/httpd as
> > below
>
> You have to put .pac in the HTML DocumentRoot directory which is usually
> /var/www/html.
>
> > function FindProxyForURL(url,host)
> > {
> > if(isPlainHostName(host))
> > return "DIRECT";
> > else
> > return "PROXY 192.168.19.20:80";
> > }
>
> I just tested the above script locally and it seems to work fine.
>
> >
> > 2. Edited httpd.conf file to add following line
> >
> > AddType application/x-ns-autoconfig .pac
>
> What about the browser config? Did you specify the URL to the .pac file
> in the proxy settings?
---- Yes, Browser (Internet Explorer) setting is done for Automatic
Configuration Script pointing to Web Server.
>
> If you want true automatic proxy detection and configuration for IE, set
> up a virtual domain called "wpad.mydomain.com" and place the .pac file
> in the document root.
>
> You can also use DHCP for configuring IE proxy setting. Here is a snip
> from my dhcpd.conf:
>
> option wpad-curl code 252 = text;
> option wpad-curl "http://wpad.exocore.com/proxy.pac";
>
> -- Shanu
> http://shankerbalan.com
>
> --
> The average income of the modern teenager is about 2 a.m.
>
> _______________________________________________________________
>
> Don't miss the 2002 Sprint PCS Application Developer's Conference
> August 25-28 in Las Vegas -
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink
>
> _______________________________________________
> linux-india-help mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/linux-india-help
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help