annotate client/digitallibrary/WEB-INF/digilib-config.xml @ 392:44eaa71f413b

digilib can now take its error-icons from the web app
author robcast
date Wed, 07 Dec 2005 19:12:45 +0100
parents 3192a1e1ff1e
children 53b768f418aa
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
168
43d1129a41ba Servlet version 1.17b2
robcast
parents: 158
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
17
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>
357
3192a1e1ff1e changed default image names; added config line for "not found" image
hertzhaft
parents: 301
diff changeset
5 <!-- Image to be sent to indicate an error or general failure. -->
392
44eaa71f413b digilib can now take its error-icons from the web app
robcast
parents: 357
diff changeset
6 <parameter name="error-image" value="img/digilib-error.png" />
17
d407cb901df4 Initial revision
robcast
parents:
diff changeset
7
357
3192a1e1ff1e changed default image names; added config line for "not found" image
hertzhaft
parents: 301
diff changeset
8 <!-- Image to be sent to indicate an authorization failure. -->
392
44eaa71f413b digilib can now take its error-icons from the web app
robcast
parents: 357
diff changeset
9 <parameter name="denied-image" value="img/digilib-denied.png" />
357
3192a1e1ff1e changed default image names; added config line for "not found" image
hertzhaft
parents: 301
diff changeset
10
3192a1e1ff1e changed default image names; added config line for "not found" image
hertzhaft
parents: 301
diff changeset
11 <!-- Image to be sent to indicate that the request was correct, but the specified image could not be ound. -->
392
44eaa71f413b digilib can now take its error-icons from the web app
robcast
parents: 357
diff changeset
12 <parameter name="notfound-image" value="img/digilib-notfound.png" />
17
d407cb901df4 Initial revision
robcast
parents:
diff changeset
13
d407cb901df4 Initial revision
robcast
parents:
diff changeset
14 <!-- List of directories where images are searched.
357
3192a1e1ff1e changed default image names; added config line for "not found" image
hertzhaft
parents: 301
diff changeset
15 Directories with low-resolution images are LAST!!! in list.
3192a1e1ff1e changed default image names; added config line for "not found" image
hertzhaft
parents: 301
diff changeset
16 Use OS-specific path separators (":" for Unix, ";" for Windows) -->
301
ed8ac4aff79f Servlet version 1.5.1b -- the beginning of the next generation :-)
robcast
parents: 217
diff changeset
17 <parameter name="basedir-list" value="/docuserver/images:/docuserver/scaled/small:/docuserver/scaled/thumb" />
17
d407cb901df4 Initial revision
robcast
parents:
diff changeset
18
73
78c7f985017c New servlet version 1.5b.
robcast
parents: 57
diff changeset
19 <!-- Java class to use for image operations -->
154
b9350d4b4b12 added Texter servlet and relative paths
robcast
parents: 109
diff changeset
20 <parameter name="docuimage-class" value="digilib.image.ImageLoaderDocuImage" />
73
78c7f985017c New servlet version 1.5b.
robcast
parents: 57
diff changeset
21
154
b9350d4b4b12 added Texter servlet and relative paths
robcast
parents: 109
diff changeset
22 <!-- mimimum amount of scaling done with antialiasing -->
b9350d4b4b12 added Texter servlet and relative paths
robcast
parents: 109
diff changeset
23 <parameter name="subsample-minimum" value="2"/>
b9350d4b4b12 added Texter servlet and relative paths
robcast
parents: 109
diff changeset
24
158
6a8e23273220 *** empty log message ***
robcast
parents: 154
diff changeset
25 <!-- default interpolation quality (0=worst) -->
6a8e23273220 *** empty log message ***
robcast
parents: 154
diff changeset
26 <parameter name="default-quality" value="1"/>
6a8e23273220 *** empty log message ***
robcast
parents: 154
diff changeset
27
73
78c7f985017c New servlet version 1.5b.
robcast
parents: 57
diff changeset
28 <!-- is sending whole image files with mo=file allowed? -->
78c7f985017c New servlet version 1.5b.
robcast
parents: 57
diff changeset
29 <parameter name="sendfile-allowed" value="true" />
78c7f985017c New servlet version 1.5b.
robcast
parents: 57
diff changeset
30
180
1b6bdb16e918 Servlet version 1.18b2
robcast
parents: 176
diff changeset
31 <!-- the a maximum size of any sent image. (0 means no limit) -->
1b6bdb16e918 Servlet version 1.18b2
robcast
parents: 176
diff changeset
32 <parameter name="max-image-size" value="0" />
1b6bdb16e918 Servlet version 1.18b2
robcast
parents: 176
diff changeset
33
301
ed8ac4aff79f Servlet version 1.5.1b -- the beginning of the next generation :-)
robcast
parents: 217
diff changeset
34 <!-- use safe but slow directory indexing -->
ed8ac4aff79f Servlet version 1.5.1b -- the beginning of the next generation :-)
robcast
parents: 217
diff changeset
35 <parameter name="safe-dir-index" value="false" />
ed8ac4aff79f Servlet version 1.5.1b -- the beginning of the next generation :-)
robcast
parents: 217
diff changeset
36
ed8ac4aff79f Servlet version 1.5.1b -- the beginning of the next generation :-)
robcast
parents: 217
diff changeset
37 <!-- number of working threads -->
ed8ac4aff79f Servlet version 1.5.1b -- the beginning of the next generation :-)
robcast
parents: 217
diff changeset
38 <parameter name="worker-threads" value="2" />
ed8ac4aff79f Servlet version 1.5.1b -- the beginning of the next generation :-)
robcast
parents: 217
diff changeset
39
17
d407cb901df4 Initial revision
robcast
parents:
diff changeset
40 <!-- Restrict access to authorized users.
d407cb901df4 Initial revision
robcast
parents:
diff changeset
41 User authentication and roles are provided by the servlet container
d407cb901df4 Initial revision
robcast
parents:
diff changeset
42 (see tomcat-users.xml).
d407cb901df4 Initial revision
robcast
parents:
diff changeset
43 Authorization for resources (directories) is evaluated by the servlet
d407cb901df4 Initial revision
robcast
parents:
diff changeset
44 (see auth-file). -->
301
ed8ac4aff79f Servlet version 1.5.1b -- the beginning of the next generation :-)
robcast
parents: 217
diff changeset
45 <parameter name="use-authorization" value="false" />
17
d407cb901df4 Initial revision
robcast
parents:
diff changeset
46
301
ed8ac4aff79f Servlet version 1.5.1b -- the beginning of the next generation :-)
robcast
parents: 217
diff changeset
47 <!-- URL location of XML file with authorization requirements. -->
ed8ac4aff79f Servlet version 1.5.1b -- the beginning of the next generation :-)
robcast
parents: 217
diff changeset
48 <parameter name="auth-file" value="digilib-auth.xml" />
17
d407cb901df4 Initial revision
robcast
parents:
diff changeset
49
d407cb901df4 Initial revision
robcast
parents:
diff changeset
50 <!-- Part of URL to indicate authenticated access to Tomcat. -->
217
90ad1ae9cdba new relato import
luginbue
parents: 180
diff changeset
51 <parameter name="auth-url-path" value="authenticated" />
168
43d1129a41ba Servlet version 1.17b2
robcast
parents: 158
diff changeset
52
43d1129a41ba Servlet version 1.17b2
robcast
parents: 158
diff changeset
53 <!-- use mapping of "virtual directories" to real directories on the server -->
43d1129a41ba Servlet version 1.17b2
robcast
parents: 158
diff changeset
54 <parameter name="use-mapping" value="false"/>
43d1129a41ba Servlet version 1.17b2
robcast
parents: 158
diff changeset
55
43d1129a41ba Servlet version 1.17b2
robcast
parents: 158
diff changeset
56 <!-- location of XML mapping file -->
43d1129a41ba Servlet version 1.17b2
robcast
parents: 158
diff changeset
57 <parameter name="mapping-file" value="digilib-map.xml"/>
43d1129a41ba Servlet version 1.17b2
robcast
parents: 158
diff changeset
58
176
f6a4b0e26a51 Servlet version 1.18b1
robcast
parents: 168
diff changeset
59 <!-- location of logger config file -->
f6a4b0e26a51 Servlet version 1.18b1
robcast
parents: 168
diff changeset
60 <parameter name="log-config-file" value="log4j-config.xml"/>
f6a4b0e26a51 Servlet version 1.18b1
robcast
parents: 168
diff changeset
61
17
d407cb901df4 Initial revision
robcast
parents:
diff changeset
62 </digilib-config>