Diff for /parser3/bin/Attic/auto.p.dist.in between versions 1.3.4.1 and 1.12

version 1.3.4.1, 2002/08/02 11:43:18 version 1.12, 2005/08/08 13:45:45
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 29  ppt application/powerpoint Line 30  ppt application/powerpoint
 rtf     application/rtf  rtf     application/rtf
 gif     image/gif  gif     image/gif
 jpg     image/jpeg  jpg     image/jpeg
   jpeg    image/jpeg
 png     image/png  png     image/png
 tif     image/tiff  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 53  $LIMITS[ Line 56  $LIMITS[
         $.post_max_size(10*0x400*0x400)          $.post_max_size(10*0x400*0x400)
 ]         ]       
   
 @fatal_error[title;body]  #$MAIL[
   #       $.sendmail[your sendmail command goes here]
   #       these are tried when no 'sendmail' specified:
   #           /usr/sbin/sendmail -t -i -f postmaster
   #           /usr/lib/sendmail -t -i -f postmaster
   #]
   
   @fatal_error[title;subtitle;body]
 $response:status(500)  $response:status(500)
 $response:content-type[  $response:content-type[
         $.value[text/html]          $.value[text/html]
Line 62  $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 99  or in debug version of unhandled_excepti Line 108  or in debug version of unhandled_excepti
   
 ]  ]
   
   @is_developer[]
   #change mask to your ip address
   $result(^env:REMOTE_ADDR.match[^^127\.0\.0\.1$])
   
 @unhandled_exception[exception;stack]  @unhandled_exception[exception;stack]
 ^unhandled_exception_release[$exception;$stack]  #developer? use debug version to see problem details
   ^if(^is_developer[])
           ^unhandled_exception_debug[$exception;$stack]
   }{
           ^if($exception.type eq "file.missing"){
   #                ^log404[]
                   ^location[/404/]
           }{
                   ^unhandled_exception_release[$exception;$stack]
           }
   }
   
   
 @auto[]  @auto[]
 #source/client charsets  #source/client charsets

Removed from v.1.3.4.1  
changed lines
  Added in v.1.12


E-mail: