Re: [Zope] Mirroring to IIS

2000-07-10 Thread Andy McKay

:)

I actually rewrote a *ahem* Perl script to do it.

- Original Message -
From: "Jake LeBeau" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 10, 2000 1:45 PM
Subject: Re: [Zope] Mirroring to IIS


> Hi Maik,
>
> I've been trying to use the ZMirror product and wget with varying degrees
of success. See my response to Andy McKay for a description of where I am
now.
>
> Of course, if I was a real Zopista, instead of a newbie, I would rewrite
the ZMirror product to assign file extensions to its output, right?
>
> Thanks for your help,
>
> Jake <[EMAIL PROTECTED]>
>
> >>> Maik Roeder <[EMAIL PROTECTED]> 07/10/00 12:40PM >>>
> 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
>
> ___
> Zope maillist  -  [EMAIL PROTECTED]
> 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  -  [EMAIL PROTECTED]
> 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  -  [EMAIL PROTECTED]
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 )




Re: [Zope] Mirroring to IIS

2000-07-10 Thread Jake LeBeau

Hi Maik,

I've been trying to use the ZMirror product and wget with varying degrees of success. 
See my response to Andy McKay for a description of where I am now.

Of course, if I was a real Zopista, instead of a newbie, I would rewrite the ZMirror 
product to assign file extensions to its output, right? 

Thanks for your help,

Jake <[EMAIL PROTECTED]>

>>> Maik Roeder <[EMAIL PROTECTED]> 07/10/00 12:40PM >>>
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 

___
Zope maillist  -  [EMAIL PROTECTED] 
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  -  [EMAIL PROTECTED]
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 )




Re: [Zope] Mirroring to IIS

2000-07-10 Thread Jake LeBeau

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 <[EMAIL PROTECTED]>

>>> "Andy McKay" <[EMAIL PROTECTED]> 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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> 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 <[EMAIL PROTECTED]>
> >
> >
> > ___
> > Zope maillist  -  [EMAIL PROTECTED] 
> > 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  -  [EMAIL PROTECTED] 
> 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  -  [EMAIL PROTECTED] 
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  -  [EMAIL PROTECTED]
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 )




Re: [Zope] Mirroring to IIS

2000-07-10 Thread Andy McKay

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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> 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 <[EMAIL PROTECTED]>
> >
> >
> > ___
> > Zope maillist  -  [EMAIL PROTECTED]
> > 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  -  [EMAIL PROTECTED]
> 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  -  [EMAIL PROTECTED]
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 )




Re: [Zope] Mirroring to IIS

2000-07-10 Thread Andy McKay

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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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 <[EMAIL PROTECTED]>
>
>
> ___
> Zope maillist  -  [EMAIL PROTECTED]
> 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  -  [EMAIL PROTECTED]
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 )




Re: [Zope] Mirroring to IIS

2000-07-10 Thread Maik Roeder

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

___
Zope maillist  -  [EMAIL PROTECTED]
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] Mirroring to IIS

2000-07-10 Thread Jake LeBeau

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 <[EMAIL PROTECTED]>


___
Zope maillist  -  [EMAIL PROTECTED]
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 )