source: main/trunk/greenstone3/resources/tomcat/greenstone3.xml.svn@ 32313

Last change on this file since 32313 was 32313, checked in by kjdon, 6 years ago

renaming to .svn

  • Property svn:keywords set to Author Date Id Revision
File size: 1.8 KB
Line 
1<!-- set allowLinking to true if you want to use symlinks to files or directories outside the docBase directory -->
2<!-- set reloadable to false for a production version. if true, automatically reloads the webapp if it detects changes in classes or lib directories -->
3<!-- see http://tomcat.apache.org/tomcat-5.5-doc/config/context.html for more Context attributes -->
4
5<Context
6 docBase="@gsdl3webwritablehome@"
7 aliases="/interfaces=@gsdl3webhome@/interfaces,/sites=@gsdl3webhome@/sites"
8 debug="1" reloadable="true"
9 @privilegedattribute@
10 allowLinking="false"
11 xmlBlockExternal="false">
12
13<!--
14 For embedded derby db:
15 driverName="org.apache.derby.jdbc.EmbeddedDriver"
16 connectionURL="jdbc:derby:@gsdl3webhome@/etc/usersDB"
17-->
18 <Realm className="org.apache.catalina.realm.JDBCRealm"
19 driverName="org.apache.derby.jdbc.ClientDriver"
20 connectionURL="jdbc:derby://@derbyserver@:@derbyserverport@/@gsdl3webhome@/etc/usersDB"
21 userTable="users" userNameCol="username" userCredCol="password"
22 userRoleTable="roles" roleNameCol="role"
23 />
24 <!-- Session Manager. Default values are used. See
25 packages/tomcat/webapps/docs/config/manager.html for more info.
26 Pathname may be absolute, or relative to greenstone3 context work
27 directory: packages/tomcat/work/Catalina/localhost/greenstone3.
28 Set pathname="" to disable storing session info between restarts.
29 To manually clear session info, stop Tomcat and delete the session
30 file. -->
31 <Manager pathname="SESSIONS.ser" />
32
33 <!-- Allow all machines or just this machine: 127.0.0.1 (IPv4) and 0:0:0:0:0:0:0:1 (IPv6, needed on windows)
34 https://tomcat.apache.org/tomcat-7.0-doc/config/valve.html -->
35 <Valve className="org.apache.catalina.valves.RemoteAddrValve" allow="@allowedIPs@"/>
36</Context>
Note: See TracBrowser for help on using the repository browser.