|
|
| version 1.6, 2002/08/12 08:19:37 | version 1.11, 2004/02/13 13:59:51 |
|---|---|
| Line 1 | Line 1 |
| #$Id$ | #$Id$ |
| @conf[] | @conf[filespec] |
| $charsetsdir[@charsetsdir@] | $confdir[^file:dirname[$filespec]] |
| $sqldriversdir[@sqldriversdir@] | $charsetsdir[$confdir/charsets] |
| $sqldriversdir[$confdir/lib] | |
| $CHARSETS[ | $CHARSETS[ |
| @commentcharset_koi8r@ $.koi8-r[$charsetsdir/koi8-r.cfg] | @commentcharset_koi8r@ $.koi8-r[$charsetsdir/koi8-r.cfg] |
| Line 10 $CHARSETS[ | Line 11 $CHARSETS[ |
| @commentcharset_windows1251@ $.windows-1251[$charsetsdir/windows-1251.cfg] | @commentcharset_windows1251@ $.windows-1251[$charsetsdir/windows-1251.cfg] |
| @commentcharset_windows1257@ $.windows-1257[$charsetsdir/windows-1257.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[ | $SQL[ |
| $.drivers[^table::set{protocol driver client | $.drivers[^table::set{protocol driver client |
| mysql $sqldriversdir/libparser3mysql.so @mysql_client@ | mysql $sqldriversdir/libparser3mysql.@dll_extension@ @mysql_client@ |
| pgsql $sqldriversdir/libparser3pgsql.so @pgsql_client@ | pgsql $sqldriversdir/libparser3pgsql.@dll_extension@ @pgsql_client@ |
| oracle $sqldriversdir/libparser3oracle.so @oracle_client@ | oracle $sqldriversdir/libparser3oracle.@dll_extension@ @oracle_client@ |
| }] | }] |
| ] | ] |
| Line 35 tif image/tiff | Line 36 tif image/tiff |
| html text/html | html text/html |
| htm text/html | htm text/html |
| txt text/plain | txt text/plain |
| xml text/xml | |
| mts application/metastream | mts application/metastream |
| mid audio/midi | mid audio/midi |
| midi audio/midi | midi audio/midi |
| Line 61 $LIMITS[ | Line 63 $LIMITS[ |
| # /usr/lib/sendmail -t -i -f postmaster | # /usr/lib/sendmail -t -i -f postmaster |
| #] | #] |
| @fatal_error[title;body] | @fatal_error[title;subtitle;body] |
| $response:status(500) | $response:status(500) |
| $response:content-type[ | $response:content-type[ |
| $.value[text/html] | $.value[text/html] |
| Line 70 $response:content-type[ | Line 72 $response:content-type[ |
| <html> | <html> |
| <head><title>$title</title></head> | <head><title>$title</title></head> |
| <body> | <body> |
| <H1>$title</H1> | <h1>^if(def $subtitle){$subtitle;$title}</h1> |
| $body | $body |
| #for [x] MSIE friendly | #for [x] MSIE friendly |
| ^for[i](0;512/8){<!-- -->} | ^for[i](0;512/8){<!-- -->} |
| </body> | </body> |
| </html> | |
| @unhandled_exception_debug[exception;stack] | @unhandled_exception_debug[exception;stack] |
| ^fatal_error[Unhandled Exception (Debug); | ^fatal_error[Unhandled Exception^if(def $exception.type){ ($exception.type)};$exception.source; |
| <pre>^untaint[html]{$exception.comment}</pre> | <pre>^untaint[html]{$exception.comment}</pre> |
| ^if(def $exception.source){ | ^if(def $exception.file){ |
| <b>$exception.source</b><br> | ^untaint[html]{<tt>$exception.file^(${exception.lineno}:$exception.colno^)</tt>} |
| <pre>^untaint[html]{$exception.file^($exception.lineno^)}</pre> | |
| } | } |
| ^if(def $exception.type){exception.type=$exception.type} | |
| ^if($stack){ | ^if($stack){ |
| <hr> | <hr/> |
| <table> | |
| ^stack.menu{ | ^stack.menu{ |
| <tt>$stack.name</tt> $stack.file^($stack.lineno^)<br> | <tr><td>$stack.name</td><td><tt>$stack.file^(${stack.lineno}:$stack.colno^)</tt></td></tr> |
| } | } |
| </table> | |
| } | } |
| ] | ] |
| @unhandled_exception_release[exception;stack] | @unhandled_exception_release[exception;stack] |
| ^fatal_error[Unhandled Exception; | ^fatal_error[Unhandled Exception;; |
| <p>The server encountered an unhandled exception | <p>The server encountered an unhandled exception |
| and was unable to complete your request.</p> | and was unable to complete your request.</p> |
| Line 108 or in debug version of unhandled_excepti | Line 109 or in debug version of unhandled_excepti |
| ] | ] |
| @unhandled_exception[exception;stack] | @unhandled_exception[exception;stack] |
| #use debug version to see problem details | |
| ^unhandled_exception_release[$exception;$stack] | ^unhandled_exception_release[$exception;$stack] |
| #^unhandled_exception_debug[$exception;$stack] | |
| @auto[] | @auto[] |