172
|
1 <?xml version="1.0" encoding="UTF-8"?>
|
20
|
2 <!-- Digilib servlet config file -->
|
|
3
|
|
4 <digilib-config>
|
|
5 <!-- Image to be sent to indicate general failure. -->
|
221
|
6 <parameter name="error-image" value="/data01/docuserver/images/icons/broken.gif" />
|
20
|
7
|
|
8 <!-- Image to be sent to indicate authorization failure. -->
|
221
|
9 <parameter name="denied-image" value="/data01/docuserver/images/icons/alert.red.gif" />
|
20
|
10
|
|
11 <!-- List of directories where images are searched.
|
221
|
12 Directories with low-resolution images are LAST!!! in list. -->
|
|
13 <parameter name="basedir-list" value="/data01/docuserver/images:/data01/docuserver/scaled/small" />
|
20
|
14
|
77
|
15 <!-- Java class to use for image operations -->
|
158
|
16 <parameter name="docuimage-class" value="digilib.image.ImageLoaderDocuImage" />
|
77
|
17
|
158
|
18 <!-- mimimum amount of scaling done with antialiasing -->
|
|
19 <parameter name="subsample-minimum" value="2"/>
|
|
20
|
162
|
21 <!-- default interpolation quality (0=worst) -->
|
|
22 <parameter name="default-quality" value="1"/>
|
|
23
|
77
|
24 <!-- is sending whole image files with mo=file allowed? -->
|
|
25 <parameter name="sendfile-allowed" value="true" />
|
|
26
|
184
|
27 <!-- the a maximum size of any sent image. (0 means no limit) -->
|
|
28 <parameter name="max-image-size" value="0" />
|
|
29
|
20
|
30 <!-- Restrict access to authorized users.
|
|
31 User authentication and roles are provided by the servlet container
|
|
32 (see tomcat-users.xml).
|
|
33 Authorization for resources (directories) is evaluated by the servlet
|
|
34 (see auth-file). -->
|
221
|
35 <parameter name="use-authorization" value="true" />
|
20
|
36
|
|
37 <!-- URL location of XML file with authorization requirements. -->
|
221
|
38 <parameter name="auth-file" value="/data01/docuserver/www/digilib_config/digilib-auth.xml" />
|
20
|
39
|
|
40 <!-- Part of URL to indicate authenticated access to Tomcat. -->
|
221
|
41 <parameter name="auth-url-path" value="authenticated" />
|
172
|
42
|
|
43 <!-- use mapping of "virtual directories" to real directories on the server -->
|
|
44 <parameter name="use-mapping" value="false"/>
|
|
45
|
|
46 <!-- location of XML mapping file -->
|
|
47 <parameter name="mapping-file" value="digilib-map.xml"/>
|
|
48
|
180
|
49 <!-- location of logger config file -->
|
|
50 <parameter name="log-config-file" value="log4j-config.xml"/>
|
|
51
|
20
|
52 </digilib-config>
|