Mercurial > hg > digilib
annotate client/digitallibrary/WEB-INF/digilib-config.xml @ 329:a135b067e268
fixed problems with Netscape4 (silly error by me partly :-)
author | robcast |
---|---|
date | Tue, 02 Nov 2004 20:36:59 +0100 |
parents | ed8ac4aff79f |
children | 3192a1e1ff1e |
rev | line source |
---|---|
168 | 1 <?xml version="1.0" encoding="UTF-8"?> |
17 | 2 <!-- Digilib servlet config file --> |
3 | |
4 <digilib-config> | |
5 <!-- Image to be sent to indicate general failure. --> | |
301
ed8ac4aff79f
Servlet version 1.5.1b -- the beginning of the next generation :-)
robcast
parents:
217
diff
changeset
|
6 <parameter name="error-image" value="/docuserver/images/icons/broken.gif" /> |
17 | 7 |
8 <!-- Image to be sent to indicate authorization failure. --> | |
301
ed8ac4aff79f
Servlet version 1.5.1b -- the beginning of the next generation :-)
robcast
parents:
217
diff
changeset
|
9 <parameter name="denied-image" value="/docuserver/images/icons/alert.red.gif" /> |
17 | 10 |
11 <!-- List of directories where images are searched. | |
217 | 12 Directories with low-resolution images are LAST!!! in list. --> |
301
ed8ac4aff79f
Servlet version 1.5.1b -- the beginning of the next generation :-)
robcast
parents:
217
diff
changeset
|
13 <parameter name="basedir-list" value="/docuserver/images:/docuserver/scaled/small:/docuserver/scaled/thumb" /> |
17 | 14 |
73 | 15 <!-- Java class to use for image operations --> |
154 | 16 <parameter name="docuimage-class" value="digilib.image.ImageLoaderDocuImage" /> |
73 | 17 |
154 | 18 <!-- mimimum amount of scaling done with antialiasing --> |
19 <parameter name="subsample-minimum" value="2"/> | |
20 | |
158 | 21 <!-- default interpolation quality (0=worst) --> |
22 <parameter name="default-quality" value="1"/> | |
23 | |
73 | 24 <!-- is sending whole image files with mo=file allowed? --> |
25 <parameter name="sendfile-allowed" value="true" /> | |
26 | |
180 | 27 <!-- the a maximum size of any sent image. (0 means no limit) --> |
28 <parameter name="max-image-size" value="0" /> | |
29 | |
301
ed8ac4aff79f
Servlet version 1.5.1b -- the beginning of the next generation :-)
robcast
parents:
217
diff
changeset
|
30 <!-- use safe but slow directory indexing --> |
ed8ac4aff79f
Servlet version 1.5.1b -- the beginning of the next generation :-)
robcast
parents:
217
diff
changeset
|
31 <parameter name="safe-dir-index" value="false" /> |
ed8ac4aff79f
Servlet version 1.5.1b -- the beginning of the next generation :-)
robcast
parents:
217
diff
changeset
|
32 |
ed8ac4aff79f
Servlet version 1.5.1b -- the beginning of the next generation :-)
robcast
parents:
217
diff
changeset
|
33 <!-- number of working threads --> |
ed8ac4aff79f
Servlet version 1.5.1b -- the beginning of the next generation :-)
robcast
parents:
217
diff
changeset
|
34 <parameter name="worker-threads" value="2" /> |
ed8ac4aff79f
Servlet version 1.5.1b -- the beginning of the next generation :-)
robcast
parents:
217
diff
changeset
|
35 |
17 | 36 <!-- Restrict access to authorized users. |
37 User authentication and roles are provided by the servlet container | |
38 (see tomcat-users.xml). | |
39 Authorization for resources (directories) is evaluated by the servlet | |
40 (see auth-file). --> | |
301
ed8ac4aff79f
Servlet version 1.5.1b -- the beginning of the next generation :-)
robcast
parents:
217
diff
changeset
|
41 <parameter name="use-authorization" value="false" /> |
17 | 42 |
301
ed8ac4aff79f
Servlet version 1.5.1b -- the beginning of the next generation :-)
robcast
parents:
217
diff
changeset
|
43 <!-- 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
|
44 <parameter name="auth-file" value="digilib-auth.xml" /> |
17 | 45 |
46 <!-- Part of URL to indicate authenticated access to Tomcat. --> | |
217 | 47 <parameter name="auth-url-path" value="authenticated" /> |
168 | 48 |
49 <!-- use mapping of "virtual directories" to real directories on the server --> | |
50 <parameter name="use-mapping" value="false"/> | |
51 | |
52 <!-- location of XML mapping file --> | |
53 <parameter name="mapping-file" value="digilib-map.xml"/> | |
54 | |
176 | 55 <!-- location of logger config file --> |
56 <parameter name="log-config-file" value="log4j-config.xml"/> | |
57 | |
17 | 58 </digilib-config> |