Annotation of parser3/bin/auto.p.dist.in, revision 1.1

1.1     ! paf         1: #$Id: parser3.conf.dist.in,v 1.1 2002/06/18 13:16:15 paf Exp $
        !             2: 
        !             3: @conf[]
        !             4: $charsetsdir[@charsetsdir@]
        !             5: $sqldriversdir[@sqldriversdir@]
        !             6: 
        !             7: $CHARSETS[
        !             8: @commentcharset_koi8r@    $.koi8-r[$charsetsdir/koi8-r.cfg]
        !             9: @commentcharset_windows1250@    $.windows-1250[$charsetsdir/windows-1250.cfg]
        !            10: @commentcharset_windows1251@    $.windows-1251[$charsetsdir/windows-1251.cfg]
        !            11: @commentcharset_windows1257@    $.windows-1257[$charsetsdir/windows-1257.cfg]
        !            12: ]
        !            13: #change your client libraries paths to 
those on your system
        !            14: $SQL[
        !            15:        $.drivers[^table::set{protocol  driver  client
        !            16: mysql  $sqldriversdir/libparser3mysql.so       @mysql_client@
        !            17: pgsql  $sqldriversdir/libparser3pgsql.so       @pgsql_client@
        !            18: oracle $sqldriversdir/libparser3oracle.so      @oracle_client@
        !            19: }]
        !            20: ]
        !            21: 
        !            22: #for ^file:load[name;user-name] mime-type autodetection
        !            23: $MIME-TYPES[^table::set{ext    mime-type
        !            24: zip    application/zip
        !            25: doc    application/msword
        !            26: xls    application/vnd.ms-excel
        !            27: pdf    application/pdf
        !            28: ppt    application/powerpoint
        !            29: rtf    application/rtf
        !            30: gif    image/gif
        !            31: jpg    image/jpeg
        !            32: png    image/png
        !            33: tif    image/tiff
        !            34: html   text/html
        !            35: htm    text/html
        !            36: txt    text/plain
        !            37: mts    application/metastream
        !            38: mid    audio/midi
        !            39: midi   audio/midi
        !            40: mp3    audio/mpeg
        !            41: ram    audio/x-pn-realaudio
        !            42: rpm    audio/x-pn-realaudio-plugin
        !            43: ra     audio/x-realaudio
        !            44: wav    audio/x-wav
        !            45: au     audio/basic
        !            46: mpg    video/mpeg
        !            47: avi    video/x-msvideo
        !            48: mov    video/quicktime
        !            49: swf    application/x-shockwave-flash
        !            50: }]
        !            51: 
        !            52: $LIMITS[
        !            53:        $.post_max_size(10*0x400*0x400)
        !            54: ]      
        !            55: 
        !            56: #$MAIL[
        !            57: #      $.sendmail[your sendmail command goes here]
        !            58: #      these are tried when no 'sendmail' specified:
        !            59: #          /usr/sbin/sendmail -ti
        !            60: #          /usr/lib/sendmail -ti
        !            61: #]
        !            62: 
        !            63: @unhandled_exception[exception;stack]
        !            64: $response:content-type[
        !            65:         $.value[text/html]
        !            66:         $.charset[$response:charset]
        !            67: ]
        !            68: 
        !            69: <title>UNHANDLED EXCEPTION (root)</title>
        !            70: <body bgcolor=white>
        !            71: <font color=black>
        !            72: <pre>^untaint[html]{$exception.comment}</pre>
        !            73: ^if(def $exception.source){
        !            74: <b>$exception.source</b><br>
        !            75: <pre>^untaint[html]{$exception.file^($exception.lineno^)}</pre>
        !            76: }
        !            77: ^if(def $exception.type){exception.type=$exception.type}
        !            78: ^if($stack){
        !            79:        <hr>
        !            80:        ^stack.menu{
        !            81:                <tt>$stack.name</tt> $stack.file^($stack.lineno^)<br>
        !            82:        }
        !            83: }
        !            84: 
        !            85: @auto[]
        !            86: #source/client charsets
        !            87: $request:charset[windows-1251]
        !            88: $response:charset[windows-1251]
        !            89: 
        !            90: $response:content-type[
        !            91:         $.value[text/html]
        !            92:         $.charset[$response:charset]
        !            93: ]
        !            94: 
        !            95: #$SQL.connect-string[mysql://user:pass@host/db?charset=cp1251_koi8]
        !            96: #$SQL.connect-string[pgsql://user:pass@host/db]
        !            97: #$SQL.connect-string[oracle://user:pass@service?NLS_LANG=RUSSIAN_AMERICA.CL8MSWIN1251&NLS_DATE_FORMAT=YYYY-MM-DD HH24:MI:SS]
        !            98: #$SQL.connect-string[odbc://DSN=datasource^;UID=user^;PWD=password]

E-mail: