source: main/trunk/greenstone3/resources/tomcat/greenstone3.xml.in@ 29845

Last change on this file since 29845 was 29845, checked in by ak19, 9 years ago

Modified gs3-server dialog to have an Allow External Connections checkbox to match with GS2. Affects org/greenstone/server code and server.properties file, greenstone.xml.in of tomcat, build.xml and build.properties

  • Property svn:keywords set to Author Date Id Revision
File size: 1.6 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 <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>
Note: See TracBrowser for help on using the repository browser.