--- parser3/bin/Attic/auto.p.dist.in 2002/06/20 16:31:07 1.2.2.1 +++ parser3/bin/Attic/auto.p.dist.in 2004/02/13 13:59:51 1.11 @@ -1,8 +1,9 @@ -#$Id: auto.p.dist.in,v 1.2.2.1 2002/06/20 16:31:07 paf Exp $ +#$Id: auto.p.dist.in,v 1.11 2004/02/13 13:59:51 paf Exp $ -@conf[] -$charsetsdir[@charsetsdir@] -$sqldriversdir[@sqldriversdir@] +@conf[filespec] +$confdir[^file:dirname[$filespec]] +$charsetsdir[$confdir/charsets] +$sqldriversdir[$confdir/lib] $CHARSETS[ @commentcharset_koi8r@ $.koi8-r[$charsetsdir/koi8-r.cfg] @@ -10,12 +11,12 @@ $CHARSETS[ @commentcharset_windows1251@ $.windows-1251[$charsetsdir/windows-1251.cfg] @commentcharset_windows1257@ $.windows-1257[$charsetsdir/windows-1257.cfg] ] -#change your client libraries paths to those on your system +#change your client libraries paths to those on your system $SQL[ $.drivers[^table::set{protocol driver client -mysql $sqldriversdir/libparser3mysql.so @mysql_client@ -pgsql $sqldriversdir/libparser3pgsql.so @pgsql_client@ -oracle $sqldriversdir/libparser3oracle.so @oracle_client@ +mysql $sqldriversdir/libparser3mysql.@dll_extension@ @mysql_client@ +pgsql $sqldriversdir/libparser3pgsql.@dll_extension@ @pgsql_client@ +oracle $sqldriversdir/libparser3oracle.@dll_extension@ @oracle_client@ }] ] @@ -29,11 +30,13 @@ ppt application/powerpoint rtf application/rtf gif image/gif jpg image/jpeg +jpeg image/jpeg png image/png tif image/tiff html text/html htm text/html txt text/plain +xml text/xml mts application/metastream mid audio/midi midi audio/midi @@ -56,33 +59,60 @@ $LIMITS[ #$MAIL[ # $.sendmail[your sendmail command goes here] # these are tried when no 'sendmail' specified: -# /usr/sbin/sendmail -ti -# /usr/lib/sendmail -ti +# /usr/sbin/sendmail -t -i -f postmaster +# /usr/lib/sendmail -t -i -f postmaster #] -@unhandled_exception[exception;stack] - +@fatal_error[title;subtitle;body] +$response:status(500) $response:content-type[ $.value[text/html] $.charset[$response:charset] ] + +$title + +

^if(def $subtitle){$subtitle;$title}

+$body +#for [x] MSIE friendly +^for[i](0;512/8){} + + -UNHANDLED EXCEPTION (root) - - +@unhandled_exception_debug[exception;stack] +^fatal_error[Unhandled Exception^if(def $exception.type){ ($exception.type)};$exception.source;
^untaint[html]{$exception.comment}
-^if(def $exception.source){ -$exception.source
-
^untaint[html]{$exception.file^($exception.lineno^)}
+^if(def $exception.file){ +^untaint[html]{$exception.file^(${exception.lineno}:$exception.colno^)} } -^if(def $exception.type){exception.type=$exception.type} ^if($stack){ -
+
+ ^stack.menu{ - $stack.name $stack.file^($stack.lineno^)
+ } +
$stack.name$stack.file^(${stack.lineno}:$stack.colno^)
} -
+] + +@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] +#use debug version to see problem details +^unhandled_exception_release[$exception;$stack] +#^unhandled_exception_debug[$exception;$stack] + @auto[] #source/client charsets