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 | <Realm className="org.apache.catalina.realm.JDBCRealm"
|
---|
14 | driverName="org.apache.derby.jdbc.EmbeddedDriver"
|
---|
15 | connectionURL="jdbc:derby:@gsdl3webhome@/etc/usersDB"
|
---|
16 | userTable="users" userNameCol="username" userCredCol="password"
|
---|
17 | userRoleTable="roles" roleNameCol="role"
|
---|
18 | />
|
---|
19 | <!-- Session Manager. Default values are used. See
|
---|
20 | packages/tomcat/webapps/docs/config/manager.html for more info.
|
---|
21 | Pathname may be absolute, or relative to greenstone3 context work
|
---|
22 | directory: packages/tomcat/work/Catalina/localhost/greenstone3.
|
---|
23 | Set pathname="" to disable storing session info between restarts.
|
---|
24 | To manually clear session info, stop Tomcat and delete the session
|
---|
25 | file. -->
|
---|
26 | <Manager pathname="SESSIONS.ser" />
|
---|
27 |
|
---|
28 | <!-- 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)
|
---|
29 | https://tomcat.apache.org/tomcat-7.0-doc/config/valve.html -->
|
---|
30 | <Valve className="org.apache.catalina.valves.RemoteAddrValve" allow="@allowedIPs@"/>
|
---|
31 | </Context>
|
---|