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>
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 )
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 )
Hi Jake ! Jake LeBeau wrote:
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.
Try using a mirror tool like w3mir. Folders like http://localhost/w3mir/ will be mirrored to a folder: w3mir/ and an index.html file inside: w3mir/index.html Hope this helps. Regards, Maik Röder -- "The computing future is based on "cyberbodies" - self-contained, neatly-ordered, beautifully-laid-out collections of information, like immaculate giant gardens." The second coming - A manifesto. David Gelernter http://www.edge.org/3rd_culture/gelernter/gelernter_p1.html
participants (3)
-
Andy McKay -
Jake LeBeau -
Maik Roeder