Re: netscape proxy.pac setup

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

On Fri, 25 Feb 2000, Jim Chivas wrote:

> On Fri, 25 Feb 2000, Mark Cooke wrote:
>
> > 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:
>
>
> BUT if my url for automatic proxy setup in my Netscape browser points to
> my proxy server for this file why do I have to tell apache about it? I
> would think I must somehow tell squid about it.

1. Browser asks for the file from http://proxy.mycompany.com:8080
2. Squid passes this to the redirector, which returns to squid the
   real location of the file.
3. Squid retrieves the real file from the web server it's hosted on.
   The web server provided the mime type for the file it supplies to
   squid.
4. Squid caches the real file and returns a copy, complete with the
   mime type from the web server to the browser.

The .htaccess is one method for making sure that the mimetype given in
step 3 is the one the browsers are expecting.

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 - 17:00:25 MST

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