Annotation of parser3/src/www/parser3root_debug.conf, revision 1.3

1.1       parser      1: @auto[]
1.3     ! parser      2: $EXEC_ALIASES[
        !             3: /cgi-bin       ../cgi
        !             4: ]
        !             5: 
1.1       parser      6: $SQL[
                      7:        $.drivers[^table::set{protocol  driver  client
                      8: mysql  d:\y\parser3project\mysql\debug\parser3mysql.dll        d:\Y\parser3project\win32mysql\lib\debug\libmySQL.dll
                      9: odbc   d:\y\parser3project\odbc\Debug\parser3odbc.dll
                     10: pgsql  d:\y\parser3project\pgsql\Debug\parser3pgsql.dll        d:\y\parser3project\win32pgsql\lib\release\libpq.dll
                     11: oracle d:\Y\parser3project\oracle\Debug\parser3oracle.dll      D:\Oracle\Ora2000\BIN\oci.dll
                     12: }]
                     13: ]
                     14: 
                     15: 
                     16: $user-html[^table::set{user    html    comment
1.2       parser     17: <<     &laquo^;        длинные user вперёд
1.1       parser     18: >>     &raquo^;
1.2       parser     19: \n\n   <p>     !эти есть в таблице по умолчанию
                     20: \n     <br>    !но т.к. заменяем, надо повторить.
                     21: <      &lt^;   !можно этим воспользоваться,
                     22: >      &gt^;   !и что-то сделать ДО обычных замен
                     23: "      &quot^; !например из << и >>
                     24: &      &amp^;  !сделать ёлочки-кавычки.
1.1       parser     25: _      &nbsp^;
1.2       parser     26: ^#AB   &laquo^;        windows коды ёлочек
                     27: ^#BB   &raquo^;        windows коды ёлочек
1.1       parser     28: (c)    &copy^;
                     29: ^#A9   &copy^; windows (c)
                     30: }]
                     31: 
                     32: #for ^file:load[name;user-name;mime-type << autodetection]
                     33: $MIME-TYPES[^table::set{ext    mime-type
                     34: zip    application/zip
                     35: doc    application/msword
                     36: xls    application/vnd.ms-excel
                     37: pdf    application/pdf
                     38: ppt    application/powerpoint
                     39: rtf    application/rtf
                     40: gif    image/gif
                     41: jpg    image/jpeg
                     42: png    image/png
                     43: tif    image/tiff
                     44: html   text/html
                     45: htm    text/html
                     46: txt    text/plain
                     47: mts    application/metastream
                     48: mid    audio/midi
                     49: midi   audio/midi
                     50: mp3    audio/mpeg
                     51: ram    audio/x-pn-realaudio
                     52: rpm    audio/x-pn-realaudio-plugin
                     53: ra     audio/x-realaudio
                     54: wav    audio/x-wav
                     55: au     audio/basic
                     56: mpg    video/mpeg
                     57: avi    video/x-msvideo
                     58: mov    video/quicktime
                     59: swf    application/x-shockwave-flash
                     60: }]
                     61: 
                     62: $LIMITS[
                     63:        $.post_max_size(10*0x400*0x400)
                     64: ]      
                     65: $DEFAULTS[
                     66:        $.content-type0[text/html]
                     67:        $.content-type[
                     68:                $.value[text/html]
                     69:                $.charset[windows-1251]
                     70:        ]
                     71: ]
                     72: #for ^match{}[i]
                     73: $CHARSETS[
                     74:     $.windows-1251[d:\Y\parser3project\parser3\src\www\windows-1251.cfg]
                     75: ]
                     76: 
                     77: $MAIL[
                     78:        $.SMTP[mail.office.design.ru]
                     79: #      $.prog1[/usr/sbin/sendmail -t]
                     80: #      $.prog2[/usr/lib/sendmail -t]
                     81: ]
                     82: 
                     83: @exception[origin;source;comment;type;code][i;j]
                     84: <body bgcolor=white>
                     85: <font color=black>
                     86: ROOT_CONF_ERROR:
                     87: ^if(def $source){$origin '$source'}
                     88: ${comment}.
                     89: ^if(def $type){type=$type}
                     90: ^if(def $code){code=$code}

E-mail: