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

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

E-mail: