Date: Sat, 8 Jan 2000 08:01:59 +0100 (CET) From: Oliver Fromme <olli@dorifer.heim3.tu-clausthal.de> To: freebsd-questions@FreeBSD.ORG Subject: Re: Help with Netscape proxy config, please. Message-ID: <200001080701.IAA03272@dorifer.heim3.tu-clausthal.de> In-Reply-To: <8555hm$1uml$1@atlantis.rz.tu-clausthal.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Stan Brown <stanb@netcom.com> wrote in list.freebsd-questions: > [...] > After having looked at one of thes machines, I see that Nescape on the > is configured to use "automatic proxyin" and this proxy is pointed to a > file on a Novell fileserver. Here are the contents of this file: > > function FindProxyForURL(url, host) > [...] > I need to be able to replicate this behavior for the UNIX machines > behind the firewall. I have a internal FreeBSD machine that runs > Apache, that I think I can do this with, but just putting this file on > it, and pointing my UNIX clients to it results in nescape error, > referencing a MIME type error. Make sure that the file has an extension of ".pac", e.g. call it "proxy.pac". Then tell Apache about the MIME type. Adding the following line to your Apache config should work: AddType application/x-ns-proxy-autoconfig .pac That's it. BTW, this has nothing to do with FreeBSD; shouldn't you have asked on some Apache mailing list in the first place? Regards Oliver -- Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany (Info: finger userinfo:olli@dorifer.heim3.tu-clausthal.de) "In jedem Stück Kohle wartet ein Diamant auf seine Geburt" (Terry Pratchett) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001080701.IAA03272>