From owner-freebsd-questions Fri Jan 7 23: 2:11 2000 Delivered-To: freebsd-questions@freebsd.org Received: from dorifer.heim3.tu-clausthal.de (dorifer.heim3.tu-clausthal.de [139.174.243.252]) by hub.freebsd.org (Postfix) with ESMTP id DCEDA158AF for ; Fri, 7 Jan 2000 23:02:01 -0800 (PST) (envelope-from olli@dorifer.heim3.tu-clausthal.de) Received: (from olli@localhost) by dorifer.heim3.tu-clausthal.de (8.9.3/8.9.3) id IAA03272; Sat, 8 Jan 2000 08:01:59 +0100 (CET) (envelope-from olli) Date: Sat, 8 Jan 2000 08:01:59 +0100 (CET) Message-Id: <200001080701.IAA03272@dorifer.heim3.tu-clausthal.de> From: Oliver Fromme To: freebsd-questions@FreeBSD.ORG Reply-To: freebsd-questions@FreeBSD.ORG Subject: Re: Help with Netscape proxy config, please. X-Newsgroups: list.freebsd-questions In-Reply-To: <8555hm$1uml$1@atlantis.rz.tu-clausthal.de> User-Agent: tin/1.4.1-19991201 ("Polish") (UNIX) (FreeBSD/3.4-19991219-STABLE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Stan Brown 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