Re: AW: 503 instead of 404 -> Caching problem

Richard Bendit <[email protected]>
Newsgroups gmane.comp.cms.zms.devel
Message-ID <[email protected]>
Hello Mr. Zechmeister,
there are known problems in the Zope Framework in the following files:

your_zope\Zope\lib\python\ZPublisher\HTTPRequest.py

your_zope\Zope\lib\python\ZPublisher\HTTPResponse.py

i had a similar problem and i found a fix for it on zope.org


Regards

Richard Bendit





2009/7/13 Peter Zechmeister <[email protected]>

>
>
> Ok. I see, you're right. Thanx.
> The Default-ZMS theme 60 behaves as I described below (redirect ->
> 503!). But with some simplifications it sends back good old 404s.
>
> In our template, we have also redirects on some kind of errors. That's
> because I did not succeed in creating a home made 404. So I redirect to
> a simple HTML-Page. But the redirect is the 503-problem for our Cache!
>
> If anyone can tell me how to create a 404 without the whole
> traceback-bunch and with nice things like standard_html_header and
> standard_html_footer around - you're wellcome.
>
> Regards
> PeterZ
>
> Am Montag, den 13.07.2009, 12:46 +0200 schrieb Dr. Frank Hoffmann:
> > [Attachment(s) from Dr. Frank Hoffmann included below]
> >
> >
> >
> > Sorry, i can not reproduce the problem: usually Zope sends 404 as you
> > can
> > see on the screen shot appended - even if the page is delivered via
> > squid.
> > Maybe there is an error in the standard_error_message or something
> > special
> > with your rewrites?
> > The DTML code of the screen shot contains only _static_ html - besides
> > the
> > error variables. Please try to simplifly your standard_error_message
> > (without any other templates calls), maybe this will help.
> >
> > Best regards
> > fh, moderator
>
> >
> >
> >
> >
> --
> "Ordnung ist für einfach denkende Menschen das Ergebnis der ordnenden
> Tätigkeit eines ordnenden Wesens.", Hayek
>
>  
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.