Mercurial > hg > digilib-old
annotate client/digitallibrary/WEB-INF/digilib-config.xml @ 885:f60fe47ecdd4 stream
ported fixes
author | robcast |
---|---|
date | Tue, 22 Mar 2011 17:21:18 +0100 |
parents | 26a3e127f45c |
children |
rev | line source |
---|---|
172 | 1 <?xml version="1.0" encoding="UTF-8"?> |
20 | 2 <!-- Digilib servlet config file --> |
3 | |
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 | 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 | 13 |
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 | 18 |
77 | 19 <!-- Java class to use for image operations --> |
158 | 20 <parameter name="docuimage-class" value="digilib.image.ImageLoaderDocuImage" /> |
77 | 21 |
158 | 22 <!-- mimimum amount of scaling done with antialiasing --> |
23 <parameter name="subsample-minimum" value="2"/> | |
24 | |
162 | 25 <!-- default interpolation quality (0=worst) --> |
805 | 26 <parameter name="default-quality" value="2"/> |
162 | 27 |
77 | 28 <!-- is sending whole image files with mo=file allowed? --> |
29 <parameter name="sendfile-allowed" value="true" /> | |
30 | |
184 | 31 <!-- the a maximum size of any sent image. (0 means no limit) --> |
32 <parameter name="max-image-size" value="0" /> | |
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 |
20 | 40 <!-- Restrict access to authorized users. |
41 User authentication and roles are provided by the servlet container | |
42 (see tomcat-users.xml). | |
43 Authorization for resources (directories) is evaluated by the servlet | |
44 (see auth-file). --> | |
305
c118e503f625
Servlet version 1.5.1b -- the beginning of the next generation :-)
robcast
parents:
221
diff
changeset
|
45 <parameter name="use-authorization" value="false" /> |
20 | 46 |
305
c118e503f625
Servlet version 1.5.1b -- the beginning of the next generation :-)
robcast
parents:
221
diff
changeset
|
47 <!-- 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
|
48 <parameter name="auth-file" value="digilib-auth.xml" /> |
20 | 49 |
50 <!-- Part of URL to indicate authenticated access to Tomcat. --> | |
221 | 51 <parameter name="auth-url-path" value="authenticated" /> |
172 | 52 |
53 <!-- use mapping of "virtual directories" to real directories on the server --> | |
54 <parameter name="use-mapping" value="false"/> | |
55 | |
56 <!-- location of XML mapping file --> | |
57 <parameter name="mapping-file" value="digilib-map.xml"/> | |
58 | |
180 | 59 <!-- location of logger config file --> |
60 <parameter name="log-config-file" value="log4j-config.xml"/> | |
506 | 61 |
62 <!-- location for PDF files while still in progress --> | |
538 | 63 <parameter name="pdf-temp-dir" value="/tmp/pdf_tmp/" /> |
506 | 64 |
65 <!-- location for PDF files upon completion --> | |
538 | 66 <parameter name="pdf-cache-dir" value="/tmp/pdf_cache/"/> |
506 | 67 |
538 | 68 <!-- logo for PDFs --> |
508 | 69 <parameter name="pdf-logo" value="http://www.mpiwg-berlin.mpg.de/de/images/logo.png" /> |
507 | 70 |
825
26a3e127f45c
config option img-diskcache-allowed to switch off disk caching in ImageIO
robcast
parents:
805
diff
changeset
|
71 <!-- 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
|
72 <parameter name="img-diskcache-allowed" value="false"/> |
180 | 73 |
20 | 74 </digilib-config> |