Changeset 11291 for trunk


Ignore:
Timestamp:
2006-02-17T17:02:40+13:00 (18 years ago)
Author:
kjdon
Message:

mods to do with change in how we define greenstone context for tomcat

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/README.txt

    r11020 r11291  
    1281281. Tell Tomcat about the Greenstone web app. There are two ways to do this.
    129129
    130 A. Add in the Greenstone context to Tomcat's conf/server.xml (In the <Host name="localhost"..> element)
    131 
    132 <Context path="/greenstone3" docBase="path-to-greenstone3/web" debug="1"
    133 reloadable="true"><Resources allowLinking='true'/></Context>
    134 
    135 The docBase attribute should be the full path to the greenstone3 web directory. Any path separator is fine here ('/', '\\', '\'). The path attribute should remain as "/greenstone3".
     130A. Copy the file greenstone3/resources/tomcat/greenstone3.xml into Tomcat's conf/Catalina/localhost directory. You'll need to edit the file and replace @gsdl3webdir@ with the full path to the web directory of your greenstone 3 installation. Any path separator is fine here ('/', '\\', '\').
    136131
    137132B. Alternatively, you can move (and rename) the greenstone3/web directory to tomcat/webapps/greenstone3 (i.e. the resulting directories will be like
     
    282277Under GNU/Linux and Mac OS X, Tomcat logs output to logs/catalina.out in the Tomcat directory (greenstone3/packages/tomcat)
    283278
    284 To prevent Tomcat showing directory listings, edit conf/web.xml file in the Tomcat directory and set the value of the "listings" servlet parameter to false.
    285 
    286 To enable symlinks to files outside the webapp root directory, edit conf/server.xml file in the Tomcat directory, and set the allowLinking attribute in the Greenstone 3 Context element to true.
     279To prevent Tomcat showing directory listings, edit Tomcat's conf/web.xml file and set the value of the "listings" servlet parameter to false.
     280
     281To enable symlinks to files outside the webapp root directory, edit Tomcat's conf/Catalina/localhost/greenstone3.xml file, and set the allowLinking attribute in the Context element to true.
    287282(Note from Tomcat website: This flag MUST NOT be set to true on the Windows platform (or any other OS which does not have a case sensitive filesystem), as it will disable case sensitivity checks, allowing JSP source code disclosure, among other security problems.)
    288283
Note: See TracChangeset for help on using the changeset viewer.