[Zope] standard_err_message ques... repost

AM list_subscriber@neurobs.com
Mon, 07 Oct 2002 11:37:30 -0700


for some reason lock=1 worked only after a restart. but it works now. I 
might have missed that part about 2.2+ .

Thanks
AM

Chris Withers wrote:

> AM wrote:
>
>> and put a simple
>>
>> <dtml-if "error_type=='NotFound'">
>> <dtml-call "RESPONSE.redirect(errors.e404.absolute_url())">
>> </dtml-if>
>> at the top of my standard_error_message.
>>
>> Unfortunately when I try to hit a non-existant page I do not get 
>> redirected to the error page, I still get the Debugging Notice.... 
>> blah blah blah
>
>
> Did you read all of the How-To? Especially the bit about "How do I 
> redirect broken links?"
>
> Try:
> <dtml-call "RESPONSE.redirect(errors.e404.absolute_url(),lock=1)">
>
> cheers,
>
> Chris
>
>
> .
>

-- 
==================================================================
 Aseem Mohanty							   
 Neurobehavioral Systems Inc, 828 San Pablo Ave, Albany, CA 94706 
 (R) 510 7696011 (M) 510 3014871 (O) 510 5279231		  	
==================================================================								  	
 "I saw `cout' being shifted "Hello world" times to the left and  
  stopped right there!!"                        -- Steve Gonedes  
==================================================================