root/main/trunk/greenstone3/resources/tomcat/greenstone3.xml @ 27922

Revision 27922, 0.9 KB (checked in by sjm84, 7 years ago)

Part of moving the userDB from localsite to web

  • Property svn:keywords set to Author Date Id Revision
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 path="/greenstone3"
6    docBase="@gsdl3webwritablehome@"
7    aliases="/interfaces=@gsdl3webhome@/interfaces,/sites=@gsdl3webhome@/sites"
8    debug="1" reloadable="true"
9    @privilegedattribute@
10    allowLinking="false">
11 
12    <Realm className="org.apache.catalina.realm.JDBCRealm"
13        driverName="org.apache.derby.jdbc.EmbeddedDriver"
14        connectionURL="jdbc:derby:@gsdl3webhome@/etc/usersDB"
15        userTable="users" userNameCol="username" userCredCol="password"
16        userRoleTable="roles" roleNameCol="role"
17        />
18</Context>
Note: See TracBrowser for help on using the browser.