Mercurial > hg > digilib-old
comparison docu/installation.html @ 112:28e449fa185c
small updates
author | robcast |
---|---|
date | Wed, 14 May 2003 12:49:41 +0200 |
parents | ffc7d9138397 |
children | 7a237ba63a3d |
comparison
equal
deleted
inserted
replaced
111:d6a76e2fcb21 | 112:28e449fa185c |
---|---|
65 | 65 |
66 <li>(optional) Set the tomcat directory and all files to be owned by | 66 <li>(optional) Set the tomcat directory and all files to be owned by |
67 the user <code>wwwrun</code> (or whatever your webserver runs) and | 67 the user <code>wwwrun</code> (or whatever your webserver runs) and |
68 use this account to start the tomcat server.</li> | 68 use this account to start the tomcat server.</li> |
69 | 69 |
70 <li>to use Mozilla-XUL functionality a user have to open the page | 70 <li>(optional) To use Mozilla-XUL functionality Alcatraz users have |
71 http://myserver:8080/digitallibrary/xul/install_sidebar.jsp | 71 to open the page |
72 in a mozilla compatible browser and press the button 'install button | 72 <code>http://myserver:8080/docuserver/digitallibrary/xul/install.html</code> |
73 list into sidebar'</li> | 73 in a Mozilla compatible browser. There the users can find |
74 instructions to install XUL-Components into their browser. </li> | |
74 | 75 |
75 </ol> | 76 </ol> |
76 | 77 |
77 | 78 |
78 <!-- | 79 <!-- |
98 can be modified to provide the path to the JDK and runtime options | 99 can be modified to provide the path to the JDK and runtime options |
99 for the Java VM. Somewhere at the beginning of the file you can put two lines | 100 for the Java VM. Somewhere at the beginning of the file you can put two lines |
100 like this:</p> | 101 like this:</p> |
101 | 102 |
102 <pre> | 103 <pre> |
103 export JAVA_HOME=/usr/local/lib/IBMJava2-13 | 104 export JAVA_HOME=/usr/local/lib/IBMJava2-14 |
104 export CATALINA_OPTS="-mx512m" | 105 export CATALINA_OPTS="-mx512m" |
105 </pre> | 106 </pre> |
106 | 107 |
107 <p>Adjust the <code>JAVA_HOME</code> path to point to your Java JDK | 108 <p>Adjust the <code>JAVA_HOME</code> path to point to your Java JDK |
108 installation directory. You can adjust the memory used by the Java VM | 109 installation directory. You can adjust the memory used by the Java VM |
109 with the <code>-mx512m</code> option.</p> | 110 with the <code>-mx</code> option.</p> |
110 | 111 |
111 <p>You can delete those two lines if you set these variables in your | 112 <p>You can delete those two lines if you set these variables in your |
112 shell before starting tomcat in that same shell. These lines are | 113 shell before starting tomcat in that same shell. These lines are |
113 needed if you want to use the startup script mentioned above under | 114 needed if you want to use the startup script mentioned above under |
114 linux .</p> | 115 linux .</p> |
198 <!-- List of directories where images are searched. | 199 <!-- List of directories where images are searched. |
199 The authoritative directory with the high-resolution images | 200 The authoritative directory with the high-resolution images |
200 is first in list. --> | 201 is first in list. --> |
201 <parameter name="basedir-list" value=<b>"/docuserver/images:/docuserver/scaled/small"</b> /> | 202 <parameter name="basedir-list" value=<b>"/docuserver/images:/docuserver/scaled/small"</b> /> |
202 | 203 |
204 <!-- Java class to use for image operations --> | |
205 <parameter name="docuimage-class" value="digilib.image.JAIDocuImage" /> | |
206 | |
207 <!-- is sending whole image files with mo=file allowed? --> | |
208 <parameter name="sendfile-allowed" value="true" /> | |
209 | |
203 <!-- Restrict access to authorized users. | 210 <!-- Restrict access to authorized users. |
204 User authentication and roles are provided by the servlet container | 211 User authentication and roles are provided by the servlet container |
205 (see tomcat-users.xml). | 212 (see tomcat-users.xml). |
206 Authorization for resources (directories) is evaluated by the servlet | 213 Authorization for resources (directories) is evaluated by the servlet |
207 (see auth-file). --> | 214 (see auth-file). --> |
226 will be used if these parameters are undefined.</p> | 233 will be used if these parameters are undefined.</p> |
227 | 234 |
228 <p>The <code>auth-file</code> parameter has to point to the | 235 <p>The <code>auth-file</code> parameter has to point to the |
229 authorization configuration file (see below).</p> | 236 authorization configuration file (see below).</p> |
230 | 237 |
238 <p>You can specify the Java toolkit implementation with the | |
239 <code>docuimage-class</code> parameter. The | |
240 <code>ImageLoaderDocuImage</code> might give best performance but | |
241 works only with JDK 1.4 and up. <code>JAIDocuImage</code> works with | |
242 JDK 1.3 and up.</p> | |
231 | 243 |
232 <h3>digilib-auth.xml</h3> | 244 <h3>digilib-auth.xml</h3> |
233 | 245 |
234 <p>The digilib access authorization is defined in the file defined by | 246 <p>The digilib access authorization is defined in the file defined by |
235 the <code>auth-file</code> parameter (usually | 247 the <code>auth-file</code> parameter (usually |
281 and password.</p> | 293 and password.</p> |
282 | 294 |
283 | 295 |
284 | 296 |
285 <hr> | 297 <hr> |
286 <address>robert.casties@philo.unibe.ch</address> | 298 <address>casties@mpiwg-berlin.mpg.de</address> |
287 <!-- hhmts start -->Last modified: Tue May 13 23:35:13 CEST 2003 <!-- hhmts end --> | 299 <!-- hhmts start -->Last modified: Wed May 14 12:49:14 CEST 2003 <!-- hhmts end --> |
288 </body> </html> | 300 </body> </html> |