Annotation of parser3/src/etc/parser3.conf.in, revision 1.2
1.2 ! paf 1: #$Id: zz$
! 2:
1.1 paf 3: @auto[]
4: $prefix[@prefix@]
5: $exec_prefix[@exec_prefix@]
6: $libdir[@libdir@]
7:
8: $charsetsdir[@charsetsdir@]
9: $CHARSETS[
10: $.windows-1251[$charsetsdir/windows-1251.cfg]
11: $.koi8-r[$charsetsdir/koi8-r.cfg]
12: ]
13:
14: $DEFAULTS[
15: $.content-type[
16: $.value[text/html]
17: $.charset[windows-1251]
18: ]
19: ]
20:
21: #change your client libraries paths to
those on your system
22: $SQL[
23: $.drivers[^table::set{protocol driver client
24: mysql $libdir/libparser3mysql.so /usr/local/lib/mysql/libmysql.so
25: pgsql $libdir/libparser3pgsql.so /usr/local/pgsql/lib/libpq.so
26: oracle $libdir/libparser3oracle.dll /u01/app/oracle/product/8.1.5/lib/libclntsh.so?ORACLE_HOME=/u01/app/oracle/product/8.1.5&ORA_NLS33=/u01/app/oracle/product/8.1.5/ocommon/nls/admin/data
27: }]
28: ]
29:
30: #for ^file:load[name;user-name] mime-type autodetection
31: $MIME-TYPES[^table::set{ext mime-type
32: zip application/zip
33: doc application/msword
34: xls application/vnd.ms-excel
35: pdf application/pdf
36: ppt application/powerpoint
37: rtf application/rtf
38: gif image/gif
39: jpg image/jpeg
40: png image/png
41: tif image/tiff
42: html text/html
43: htm text/html
44: txt text/plain
45: mts application/metastream
46: mid audio/midi
47: midi audio/midi
48: mp3 audio/mpeg
49: ram audio/x-pn-realaudio
50: rpm audio/x-pn-realaudio-plugin
51: ra audio/x-realaudio
52: wav audio/x-wav
53: au audio/basic
54: mpg video/mpeg
55: avi video/x-msvideo
56: mov video/quicktime
57: swf application/x-shockwave-flash
58: }]
59:
60: $LIMITS[
61: $.post_max_size(10*0x400*0x400)
62: ]
63:
64: $MAIL[
65: # $.prog1[/usr/sbin/sendmail -t]
66: # $.prog2[/usr/lib/sendmail -t]
67: ]
68:
69: @exception[origin;source;comment;type;code;stack]
70: <title>ROOT_CONF_ERROR</title>
71: <body bgcolor=white>
72: <font color=black>
73: <pre>^untaint[html]{$comment}</pre>
74: ^if(def $source){
75: <b>$source</b><br>
76: <pre>^untaint[html]{$origin}</pre>
77: }
78: ^if(def $type){type=$type}
79: ^if(def $code){code=$code}
80: ^if($stack){
81: <hr>
82: ^stack.menu{
83: <tt>$stack.name</tt> $stack.origin<br>
84: }
85: }
E-mail: