Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jan 2000 08:59:07 +0200
From:      Alwyn Schoeman <alwyns@littlecruncher.prizm.dhs.org>
To:        Stan Brown <stanb@netcom.com>
Cc:        Free BSD Questions list <freebsd-questions@freebsd.org>
Subject:   Re: Help with Netscape proxy config, please.
Message-ID:  <20000110085906.A7053@littlecruncher.prizm.dhs.org>
In-Reply-To: <200001071632.IAA14289@netcom.com>; from stanb@netcom.com on Fri, Jan 07, 2000 at 11:32:08AM -0500
References:  <200001071632.IAA14289@netcom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

You need to add a configuration entry in you Apache file that will
add the mime-type of a automatic configuration file. Extension is .pac I think.

On Fri, Jan 07, 2000 at 11:32:08AM -0500, Stan Brown wrote:
> 	I have several FreeBSD machines which live behind a coporate firewall.
> 	Untill recently access to http browsing was on "need only" basis. It
> 	was throught a SOCKS firewall that did some sort of authentication.
> 
> 	Now it has been opened up to "everyon", except the MIS types on
> 	"support' microsloth machines :-(
> 
> 	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)
> {
>         if (isInNet(host, "170.85.18.11", "255.255.255.128"))
> 		return "SOCKS 170.85.17.10:1080; DIRECT";
>         else
> 		if (isInNet(host, "170.85.0.0", "255.255.0.0"))  
>                 	return "DIRECT";
>         
>         	else
>                 	return "SOCKS 170.85.17.10:1080; DIRECT";
> 
> 
> }
> 
> 	Now, what this does is pretty obvious, if the reference is outside our
> 	corporate net (170.85.*) it calls a SOCKS proxy, otherwise, it goes
> 	direct.
> 
> 	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.
> 
> 	Can someone please educate me on how to make this work?
> 
> 	Thanks
> 
> -- 
> Stan Brown     stanb@netcom.com                                    404-996-6955
> Factory Automation Systems
> Atlanta Ga.
> -- 
> Look, look, see Windows 95.  Buy, lemmings, buy!   
> Pay no attention to that cliff ahead...            Henry Spencer
> (c) 1998 Stan Brown.  Redistribution via the Microsoft Network is prohibited.
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message


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?20000110085906.A7053>