Try 'touch'ing the file. If it got cached under the old content type,
and it's coming back through the cache, it's probably doing an IMS on it
and getting 'not-modified'. Then try again. Should work.
D
Grant Beattie wrote:
>
> Hi all,
>
> Not directly related to squid, but hopefully someone can help.. I'm trying
> to get a netscape auto proxy config working without much success.
>
> I have my proxy.pac and a .htaccess to set the mime type which looks like
> this:
>
> AddType application/x-ns-proxy-autoconfig pac
>
> But when I request the proxy.pac, I get Content-type: text/plain, thus:
>
> HTTP/1.1 200 OK
> Date: Sun, 03 May 1998 10:21:07 GMT
> Server: Apache/1.2.5
> Last-Modified: Sun, 03 May 1998 10:07:18 GMT
> ETag: "38bd4-94-354c41d6"
> Content-Length: 148
> Accept-Ranges: bytes
> Connection: close
> Content-Type: text/plain
>
> <proxy.pac here>
>
> It seems like apache isn't reading the AddType directive.. Has anyone else
> experienced this?
>
> .htaccess files have worked elsewhere without a problem..
>
> grant.
-- -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GAT d- s++: a C++++$ UL++++B+++S+++C++H++U++V+++$ P+++$ L+++ E- W+++(--)$ N++ w++$>--- t+ 5++ X+() R+ tv b++++ DI+++ e- h-@ ------END GEEK CODE BLOCK------Received on Sun May 03 1998 - 06:05:08 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:40:04 MST