annotate client/src/main/webapp/WEB-INF/digilib-config.xml @ 902:89ba3ffcf552

merge jquery + mvn into default
author robcast
date Tue, 26 Apr 2011 11:38:11 +0200
parents client/digitallibrary/WEB-INF/digilib-config.xml@cad6d3d5aeb3 client/digitallibrary/WEB-INF/digilib-config.xml@ba1eb2d821a2
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
172
a97798c6de2a Servlet version 1.17b2
robcast
parents: 162
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
20
d407cb901df4 Initial revision
robcast
parents:
diff changeset
2 <!-- Digilib servlet config file -->
d407cb901df4 Initial revision
robcast
parents:
diff changeset
3
d407cb901df4 Initial revision
robcast
parents:
diff changeset
4 <digilib-config>
361
8a58a25b6097 changed default image names; added config line for "not found" image
hertzhaft
parents: 305
diff changeset
5 <!-- Image to be sent to indicate an error or general failure. -->
396
f4d4296d097d digilib can now take its error-icons from the web app
robcast
parents: 361
diff changeset
6 <parameter name="error-image" value="img/digilib-error.png" />
20
d407cb901df4 Initial revision
robcast
parents:
diff changeset
7
361
8a58a25b6097 changed default image names; added config line for "not found" image
hertzhaft
parents: 305
diff changeset
8 <!-- Image to be sent to indicate an authorization failure. -->
396
f4d4296d097d digilib can now take its error-icons from the web app
robcast
parents: 361
diff changeset
9 <parameter name="denied-image" value="img/digilib-denied.png" />
361
8a58a25b6097 changed default image names; added config line for "not found" image
hertzhaft
parents: 305
diff changeset
10
8a58a25b6097 changed default image names; added config line for "not found" image
hertzhaft
parents: 305
diff changeset
11 <!-- Image to be sent to indicate that the request was correct, but the specified image could not be ound. -->
396
f4d4296d097d digilib can now take its error-icons from the web app
robcast
parents: 361
diff changeset
12 <parameter name="notfound-image" value="img/digilib-notfound.png" />
20
d407cb901df4 Initial revision
robcast
parents:
diff changeset
13
d407cb901df4 Initial revision
robcast
parents:
diff changeset
14 <!-- List of directories where images are searched.
361
8a58a25b6097 changed default image names; added config line for "not found" image
hertzhaft
parents: 305
diff changeset
15 Directories with low-resolution images are LAST!!! in list.
8a58a25b6097 changed default image names; added config line for "not found" image
hertzhaft
parents: 305
diff changeset
16 Use OS-specific path separators (":" for Unix, ";" for Windows) -->
305
c118e503f625 Servlet version 1.5.1b -- the beginning of the next generation :-)
robcast
parents: 221
diff changeset
17 <parameter name="basedir-list" value="/docuserver/images:/docuserver/scaled/small:/docuserver/scaled/thumb" />
20
d407cb901df4 Initial revision
robcast
parents:
diff changeset
18
77
b877e54b0794 New servlet version 1.5b.
robcast
parents: 60
diff changeset
19 <!-- Java class to use for image operations -->
158
e9a81ac446cb added Texter servlet and relative paths
robcast
parents: 113
diff changeset
20 <parameter name="docuimage-class" value="digilib.image.ImageLoaderDocuImage" />
77
b877e54b0794 New servlet version 1.5b.
robcast
parents: 60
diff changeset
21
158
e9a81ac446cb added Texter servlet and relative paths
robcast
parents: 113
diff changeset
22 <!-- mimimum amount of scaling done with antialiasing -->
e9a81ac446cb added Texter servlet and relative paths
robcast
parents: 113
diff changeset
23 <parameter name="subsample-minimum" value="2"/>
e9a81ac446cb added Texter servlet and relative paths
robcast
parents: 113
diff changeset
24
162
dd070f97e446 *** empty log message ***
robcast
parents: 158
diff changeset
25 <!-- default interpolation quality (0=worst) -->
805
5591163f47ee corrected typo. upped default quality.
robcast
parents: 538
diff changeset
26 <parameter name="default-quality" value="2"/>
162
dd070f97e446 *** empty log message ***
robcast
parents: 158
diff changeset
27
77
b877e54b0794 New servlet version 1.5b.
robcast
parents: 60
diff changeset
28 <!-- is sending whole image files with mo=file allowed? -->
b877e54b0794 New servlet version 1.5b.
robcast
parents: 60
diff changeset
29 <parameter name="sendfile-allowed" value="true" />
b877e54b0794 New servlet version 1.5b.
robcast
parents: 60
diff changeset
30
184
754c90861f95 Servlet version 1.18b2
robcast
parents: 180
diff changeset
31 <!-- the a maximum size of any sent image. (0 means no limit) -->
754c90861f95 Servlet version 1.18b2
robcast
parents: 180
diff changeset
32 <parameter name="max-image-size" value="0" />
754c90861f95 Servlet version 1.18b2
robcast
parents: 180
diff changeset
33
305
c118e503f625 Servlet version 1.5.1b -- the beginning of the next generation :-)
robcast
parents: 221
diff changeset
34 <!-- use safe but slow directory indexing -->
c118e503f625 Servlet version 1.5.1b -- the beginning of the next generation :-)
robcast
parents: 221
diff changeset
35 <parameter name="safe-dir-index" value="false" />
c118e503f625 Servlet version 1.5.1b -- the beginning of the next generation :-)
robcast
parents: 221
diff changeset
36
c118e503f625 Servlet version 1.5.1b -- the beginning of the next generation :-)
robcast
parents: 221
diff changeset
37 <!-- number of working threads -->
c118e503f625 Servlet version 1.5.1b -- the beginning of the next generation :-)
robcast
parents: 221
diff changeset
38 <parameter name="worker-threads" value="2" />
c118e503f625 Servlet version 1.5.1b -- the beginning of the next generation :-)
robcast
parents: 221
diff changeset
39
630
cad6d3d5aeb3 small fix to servlet config
robcast
parents: 538
diff changeset
40 <!-- number of waiting requests in queue -->
cad6d3d5aeb3 small fix to servlet config
robcast
parents: 538
diff changeset
41 <parameter name="max-waiting-threads" value="20" />
cad6d3d5aeb3 small fix to servlet config
robcast
parents: 538
diff changeset
42
20
d407cb901df4 Initial revision
robcast
parents:
diff changeset
43 <!-- Restrict access to authorized users.
d407cb901df4 Initial revision
robcast
parents:
diff changeset
44 User authentication and roles are provided by the servlet container
d407cb901df4 Initial revision
robcast
parents:
diff changeset
45 (see tomcat-users.xml).
d407cb901df4 Initial revision
robcast
parents:
diff changeset
46 Authorization for resources (directories) is evaluated by the servlet
d407cb901df4 Initial revision
robcast
parents:
diff changeset
47 (see auth-file). -->
305
c118e503f625 Servlet version 1.5.1b -- the beginning of the next generation :-)
robcast
parents: 221
diff changeset
48 <parameter name="use-authorization" value="false" />
20
d407cb901df4 Initial revision
robcast
parents:
diff changeset
49
305
c118e503f625 Servlet version 1.5.1b -- the beginning of the next generation :-)
robcast
parents: 221
diff changeset
50 <!-- URL location of XML file with authorization requirements. -->
c118e503f625 Servlet version 1.5.1b -- the beginning of the next generation :-)
robcast
parents: 221
diff changeset
51 <parameter name="auth-file" value="digilib-auth.xml" />
20
d407cb901df4 Initial revision
robcast
parents:
diff changeset
52
d407cb901df4 Initial revision
robcast
parents:
diff changeset
53 <!-- Part of URL to indicate authenticated access to Tomcat. -->
221
59a2bc922652 new relato import
luginbue
parents: 184
diff changeset
54 <parameter name="auth-url-path" value="authenticated" />
172
a97798c6de2a Servlet version 1.17b2
robcast
parents: 162
diff changeset
55
a97798c6de2a Servlet version 1.17b2
robcast
parents: 162
diff changeset
56 <!-- use mapping of "virtual directories" to real directories on the server -->
a97798c6de2a Servlet version 1.17b2
robcast
parents: 162
diff changeset
57 <parameter name="use-mapping" value="false"/>
a97798c6de2a Servlet version 1.17b2
robcast
parents: 162
diff changeset
58
a97798c6de2a Servlet version 1.17b2
robcast
parents: 162
diff changeset
59 <!-- location of XML mapping file -->
a97798c6de2a Servlet version 1.17b2
robcast
parents: 162
diff changeset
60 <parameter name="mapping-file" value="digilib-map.xml"/>
a97798c6de2a Servlet version 1.17b2
robcast
parents: 162
diff changeset
61
180
bd87f802bea1 Servlet version 1.18b1
robcast
parents: 172
diff changeset
62 <!-- location of logger config file -->
bd87f802bea1 Servlet version 1.18b1
robcast
parents: 172
diff changeset
63 <parameter name="log-config-file" value="log4j-config.xml"/>
506
7dba370dda3b added file location parameters for the PDFCache
cmielack
parents:
diff changeset
64
7dba370dda3b added file location parameters for the PDFCache
cmielack
parents:
diff changeset
65 <!-- location for PDF files while still in progress -->
630
cad6d3d5aeb3 small fix to servlet config
robcast
parents: 538
diff changeset
66 <parameter name="pdf-temp-dir" value="/tmp/pdf_tmp" />
506
7dba370dda3b added file location parameters for the PDFCache
cmielack
parents:
diff changeset
67
7dba370dda3b added file location parameters for the PDFCache
cmielack
parents:
diff changeset
68 <!-- location for PDF files upon completion -->
630
cad6d3d5aeb3 small fix to servlet config
robcast
parents: 538
diff changeset
69 <parameter name="pdf-cache-dir" value="/tmp/pdf_cache"/>
cad6d3d5aeb3 small fix to servlet config
robcast
parents: 538
diff changeset
70
cad6d3d5aeb3 small fix to servlet config
robcast
parents: 538
diff changeset
71 <!-- number of PDF generation threads -->
cad6d3d5aeb3 small fix to servlet config
robcast
parents: 538
diff changeset
72 <parameter name="pdf-worker-threads" value="1" />
cad6d3d5aeb3 small fix to servlet config
robcast
parents: 538
diff changeset
73
cad6d3d5aeb3 small fix to servlet config
robcast
parents: 538
diff changeset
74 <!-- number of waiting PDF requests in queue -->
cad6d3d5aeb3 small fix to servlet config
robcast
parents: 538
diff changeset
75 <parameter name="pdf-max-waiting-threads" value="20" />
cad6d3d5aeb3 small fix to servlet config
robcast
parents: 538
diff changeset
76
cad6d3d5aeb3 small fix to servlet config
robcast
parents: 538
diff changeset
77 <!-- number of image generation threads for PDF -->
cad6d3d5aeb3 small fix to servlet config
robcast
parents: 538
diff changeset
78 <parameter name="pdf-image-worker-threads" value="1" />
cad6d3d5aeb3 small fix to servlet config
robcast
parents: 538
diff changeset
79
cad6d3d5aeb3 small fix to servlet config
robcast
parents: 538
diff changeset
80 <!-- number of waiting image requests for PDF in queue -->
cad6d3d5aeb3 small fix to servlet config
robcast
parents: 538
diff changeset
81 <parameter name="pdf-image-max-waiting-threads" value="10" />
506
7dba370dda3b added file location parameters for the PDFCache
cmielack
parents:
diff changeset
82
538
b153f014e3c7 cleanup and eclipse settings
casties
parents: 536
diff changeset
83 <!-- logo for PDFs -->
630
cad6d3d5aeb3 small fix to servlet config
robcast
parents: 538
diff changeset
84 <parameter name="pdf-logo" value="http://digilib.berlios.de/images/digilib-logo-big.png" />
507
b75203f365e0 added pdf logo parameter
cmielack
parents: 506
diff changeset
85
825
26a3e127f45c config option img-diskcache-allowed to switch off disk caching in ImageIO
robcast
parents: 805
diff changeset
86 <!-- is the image toolkit allowed to use a disk cache -->
26a3e127f45c config option img-diskcache-allowed to switch off disk caching in ImageIO
robcast
parents: 805
diff changeset
87 <parameter name="img-diskcache-allowed" value="false"/>
180
bd87f802bea1 Servlet version 1.18b1
robcast
parents: 172
diff changeset
88
20
d407cb901df4 Initial revision
robcast
parents:
diff changeset
89 </digilib-config>