Re: AW: 503 instead of 404 -> Caching problem
Peter Zechmeister <[email protected]>
| Newsgroups | gmane.comp.cms.zms.devel |
|---|---|
| Message-ID | <[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