[Zope] Mirroring to IIS

Jake LeBeau JLeBeau@cityofboise.org
Mon, 10 Jul 2000 14:40:29 -0600


LOL Good catch, I was just about to e-mail more questions ;-)

I've been banging my head on it for most of the day, and I think what it comes down to is - why does netscape have no problem displaying pages from ZServer that have no file extension, and yet try to save all files from IIS that don't have a file extension?
I think it is because ZServer correctly sends the appropriate MIME type along with each file. IIS doesn't. Apparently IIS sends files without extensions as an "application/octet-stream" content-type. I've tried changing this in IIS by changing the ".*" MIME mapping, but to no avail. I'm afraid I'm getting far afield from the topic of Zope and need to address this to some IIS list or other :-P

Thanks for your help, though

yours,

Jake <jlebeau@cityofboise.org>

>>> "Andy McKay" <AndyM@ActiveState.com> 07/10/00 01:13PM >>>
Oops of course you are mirroring to a static file that setting a header will
do no good. Damn need more tea to wake me up.
----- Original Message -----
From: "Andy McKay" <AndyM@activestate.com>
To: <zope@zope.org>
Sent: Monday, July 10, 2000 11:40 AM
Subject: Re: [Zope] Mirroring to IIS


> I did a similar thing and when I mirrored it to IIS as static files I
> changed the filename by adding .html....
>
> You can fix the header to always add the correct content type
> (RESPONSE.setHeader('Content-Type', 'text/html'))
> ----- Original Message -----
> From: "Jake LeBeau" <JLeBeau@cityofboise.org>
> To: <zope@zope.org>
> Sent: Monday, July 10, 2000 10:47 AM
> Subject: [Zope] Mirroring to IIS
>
>
> > Hello all,
> >
> > I'm attempting to mirror our Zope site to IIS 5.0 on a W2K Server, and
am
> having problems with Netscape Navigator. Because the files have no file
> extension, Netscape keeps trying to download and save the files to disk,
> rather than displaying the content as HTML. I've tried several ways of
> specifying that the MIME content type header coming from the server is
> "text/html", but nothing alters the behavior of Netscape. Is there anyone
> else out there who may have had experience with this and would be willing
to
> help? Any advice would be appreciated.
> >
> > Thank you,
> >
> > Jake LeBeau <jlebeau@cityofboise.org>
> >
> >
> > _______________________________________________
> > Zope maillist  -  Zope@zope.org 
> > http://lists.zope.org/mailman/listinfo/zope 
> > **   No cross posts or HTML encoding!  **
> > (Related lists -
> >  http://lists.zope.org/mailman/listinfo/zope-announce 
> >  http://lists.zope.org/mailman/listinfo/zope-dev )
> >
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org 
> http://lists.zope.org/mailman/listinfo/zope 
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce 
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>


_______________________________________________
Zope maillist  -  Zope@zope.org 
http://lists.zope.org/mailman/listinfo/zope 
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce 
 http://lists.zope.org/mailman/listinfo/zope-dev )