[Zope] RE: [Zope-dev] Fighting with ZServer

2000-08-23 Thread T.J. Mannos

Dieter,

Yes, I have, and I spent hours tearing apart my site thinking I'd seriously
screwed-up when suddenly all my images refused to load.  But that was just
on my Solaris 2.6 server.  PCs and even Macs render my pages beautifully.
It's just Netscape Communicator for Solaris that causes a problem.  I don't
have a clue.

But, I can tell you why your logs wouldn't be showing up.  Netscape caches
images so that it doesn't have to keep reloading them from the server.  If
it's reading a cached image, you won't see an entry in the server log.

Hope this helps,
T.J.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf
Of Dieter Maurer
Sent: Monday, August 21, 2000 2:36 PM
To: [EMAIL PROTECTED]
Subject: [Zope-dev] Fighting with ZServer


Since this afternoon, I am fighting with ZServer.
Currently, it seems Zserver is winning 
I do not understand, what I see...

At work: Zope 2.1.6, Sparc Solaris 2.7, Linux Netscape 4.51

  Sometimes, images are not shown by Netscape (broken image).
  No "simple" reload is able to change this, however a "forced" reload
  lets Netscape show the image correctly.
  From then on, the image is always shown correctly: by "simple" reload,
  "forced" reload or directly (served from cache).

  The strange thing, inside "Image.index_html" the failing
  "simple" reload and the succeeding "forced" reload look
  completely identical.


At home: Zope 2.1.6, Intel Linux 2, Linux Netscape 4.5

  All images are always shown correctly.
  However, there is no log entry in "var/Z2.log" for
  about 50 % of the requests that are answered by
  a 304 response. It is non-deterministic whether
  a log entry is written or not.


Did you ever see something like this?


Dieter

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )


___
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] RE: [Zope-dev] Fighting with ZServer

2000-08-22 Thread Dieter Maurer

[EMAIL PROTECTED] writes:
 > To your image in properites add a string property called
 > 
 > Last-Modified 
 > 
 > with value
 > 
 > Wed, 15 Mar 2002 19:02:17 GMT
 > 
 > And your broken image problem will disappear.  
That may be possible.

However, this avoids browser caching of the images (at
least until 2002-3-15). I think, disabling the caching
is not a good thing.

Furthermore, it does not explain, why netscape displays
the image as broken. It should get a nice 304 response
which is usually handles correctly.

By the way, Zope should cope with rounding problems
for the "If-Modified-Since" headers.


Dieter

___
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] RE: [Zope-dev] Fighting with ZServer

2000-08-21 Thread weboats

To your image in properites add a string property called

Last-Modified 

with value

Wed, 15 Mar 2002 19:02:17 GMT

And your broken image problem will disappear.  


This is not zope specific, I think it's apache since 
I've had the problem with PHP4 using a fusebox 
architecture.

-Kevin Smith



>Since this afternoon, I am fighting with ZServer.
>Currently, it seems Zserver is winning 
>I do not understand, what I see...

>At work: Zope 2.1.6, Sparc Solaris 2.7, Linux Netscape 
>4.51

>  Sometimes, images are not shown by Netscape (broken 
>image).
>  No "simple" reload is able to change this, however 
>a "forced" reload
>  lets Netscape show the image correctly.
>  From then on, the image is always shown correctly: 
>by "simple" reload,
  "forced" reload or directly (served from cache).

>  The strange thing, inside "Image.index_html" the 
failing
>  "simple" reload and the succeeding "forced" reload 
>look
>  completely identical.


>At home: Zope 2.1.6, Intel Linux 2, Linux Netscape 4.5

>  All images are always shown correctly.
>  However, there is no log entry in "var/Z2.log" for
>  about 50 % of the requests that are answered by
>  a 304 response. It is non-deterministic whether
>  a log entry is written or not.


>Did you ever see something like this?


>Dieter



___
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 )