install doc updates for new webui.html.max-depth-guess config item

git-svn-id: http://scm.dspace.org/svn/repo/trunk@1679 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
Scott Yeadon
2006-11-21 00:42:24 +00:00
parent ef51d8b9a3
commit f21715543d
2 changed files with 20 additions and 2 deletions

View File

@@ -56,7 +56,7 @@
</LI>
<LI><A HREF="update.html">Updating a DSpace Installation</A>
<UL>
<LI><A HREF="update.html#14_141">Updating From 1.4 to 1.4.x</A></LI>
<LI><A HREF="update.html#14_141">Updating From 1.4 to 1.4.1</A></LI>
<LI><A HREF="update.html#132_14">Updating From 1.3.x to 1.4.x</A></LI>
<LI><A HREF="update.html#131_132">Updating From 1.3.1 to 1.3.2</A></LI>
<LI><A HREF="update.html#12_13">Updating From 1.2.x to 1.3.x</A></LI>

View File

@@ -14,7 +14,7 @@
<h2><a name="14_141">Updating From 1.4 to 1.4.1</a></h2>
<p>The changes in 1.4.1 are only code changes so the update is simply a matter of rebuilding the wars.</p>
<p>The changes in 1.4.1 are only code and configuration changes so the update is simply a matter of rebuilding the wars and slight changes to your config file.</p>
<p>In the notes below <code><i>[dspace]</i></code> refers to the install directory for your existing DSpace installation, and <code><i>[dspace-1.4.1-source]</i></code> to the source directory for DSpace 1.4.1. Whenever you see these path references, be sure to replace them with the actual path names on your local system.</p>
@@ -30,6 +30,24 @@ cp postgresql.jar <i>[dspace-1.4.1-source]</i>/lib</pre></li>
<li><p>Take down Tomcat (or whichever servlet container you're using).</p></li>
<li><p>A new configuration item <code>webui.html.max-depth-guess</code> has been added to avoid infinite URL spaces. Add the following to the dspace.cfg file:</p>
<pre>#### Multi-file HTML document/site settings #####
#
# When serving up composite HTML items, how deep can the request be for us to
# serve up a file with the same name?
#
# e.g. if we receive a request for "foo/bar/index.html"
# and we have a bitstream called just "index.html"
# we will serve up that bitstream for the request if webui.html.max-depth-guess
# is 2 or greater. If webui.html.max-depth-guess is 1 or less, we would not
# serve that bitstream, as the depth of the file is greater.
#
# If webui.html.max-depth-guess is zero, the request filename and path must
# always exactly match the bitstream name. Default value is 3.
#
webui.html.max-depth-guess = 3</pre>
<p>If <code>webui.html.max-depth-guess</code> is not present in <code>dspace.cfg</code> the default value is used. If archiving entire web sites or deeply nested HTML documents it is advisable to change the default to a higher value more suitable for these types of materials.</p></li>
<li><p>Your 'localized' JSPs (those in jsp/local) now need to be maintained in the <em>source</em> directory. If you have locally modified JSPs in your <code><i>[dspace]</i>/jsp/local</code> directory, you will need to merge the changes in the new 1.4.1 versions into your locally modified ones. You can use the <code>diff</code> command to compare your JSPs against the 1.4.1 versions to do this. You can also check against the <a href="http://dspace.cvs.sourceforge.net/dspace/">DSpace CVS</a>.</p></li>
<li><p>In <code><i>[dspace-1.4.1-source]</i></code> run:</p>