Re: netscape proxy.pac setup

From: Mark Cooke <mpc@dont-contact.us>
Date: Fri, 25 Feb 2000 17:46:42 +0000 (GMT)

On Fri, 25 Feb 2000, Jim Chivas wrote:

> automatic configuration file is not of the correct type
>
> http://proxy.mycompany.com:8080
>
> expected MIME type application/x-ns-proxy-autoconfig.

That's because netscape (and IE) expect the pac file to have a mime
type of the above. If you use Apache, try the following .htaccess:

[mpc@pc24 www_html]$ cat .htaccess
AddType application/x-ns-proxy-autoconfig pac

Basically tells Apache to set the mime type for all files ending in
pac for the directory the .htaccess file is in.

You could also modify the httpd.conf file to make all .pac files
that mime type, etc.

Cheers,

Mark

+-------------------------------------------------------------------------+
Mark Cooke The views expressed above are mine and are not
Systems Programmer necessarily representative of university policy
University Of Birmingham URL: http://www.sr.bham.ac.uk/~mpc/
+-------------------------------------------------------------------------+
Received on Fri Feb 25 2000 - 10:52:11 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:51:35 MST