--- parser3/bin/Attic/auto.p.dist.in 2002/06/20 14:06:21 1.2 +++ parser3/bin/Attic/auto.p.dist.in 2002/08/02 11:43:18 1.3.4.1 @@ -1,4 +1,4 @@ -#$Id: auto.p.dist.in,v 1.2 2002/06/20 14:06:21 paf Exp $ +#$Id: auto.p.dist.in,v 1.3.4.1 2002/08/02 11:43:18 paf Exp $ @conf[] $charsetsdir[@charsetsdir@] @@ -53,23 +53,24 @@ $LIMITS[ $.post_max_size(10*0x400*0x400) ] -#$MAIL[ -# $.sendmail[your sendmail command goes here] -# these are tried when no 'sendmail' specified: -# /usr/sbin/sendmail -ti -# /usr/lib/sendmail -ti -#] - -@unhandled_exception[exception;stack] - +@fatal_error[title;body] +$response:status(500) $response:content-type[ $.value[text/html] $.charset[$response:charset] ] + +$title + +

$title

+$body +#for [x] MSIE friendly +^for[i](0;512/8){} + + +@unhandled_exception_debug[exception;stack] +^fatal_error[Unhandled Exception (Debug); -UNHANDLED EXCEPTION (root) - -
^untaint[html]{$exception.comment}
^if(def $exception.source){ $exception.source
@@ -82,7 +83,24 @@ $response:content-type[ $stack.name $stack.file^($stack.lineno^)
} } -
+ +] + +@unhandled_exception_release[exception;stack] +^fatal_error[Unhandled Exception; + +

The server encountered an unhandled exception +and was unable to complete your request.

+

Please contact the server administrator, $env:SERVER_ADMIN +and inform them of the time the error occurred, +and anything you might have done that may have caused the error.

+

More information about this error may be available in the Parser error log +or in debug version of unhandled_exception.

+ +] + +@unhandled_exception[exception;stack] +^unhandled_exception_release[$exception;$stack] @auto[] #source/client charsets