forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ferdin...@apache.org
Subject svn commit: r168098 - /forrest/trunk/site-author/content/xdocs/docs/faq.xml
Date Wed, 04 May 2005 08:16:41 GMT
Author: ferdinand
Date: Wed May  4 01:16:39 2005
New Revision: 168098

URL: http://svn.apache.org/viewcvs?rev=168098&view=rev
Log:
Added and corrected info in faq defaultFileName

Modified:
    forrest/trunk/site-author/content/xdocs/docs/faq.xml

Modified: forrest/trunk/site-author/content/xdocs/docs/faq.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/site-author/content/xdocs/docs/faq.xml?rev=168098&r1=168097&r2=168098&view=diff
==============================================================================
--- forrest/trunk/site-author/content/xdocs/docs/faq.xml (original)
+++ forrest/trunk/site-author/content/xdocs/docs/faq.xml Wed May  4 01:16:39 2005
@@ -201,8 +201,25 @@
       <question> How can I change the default file name that Forrest will look for
when I request a
         URL like <code>http://myserver</code> or <code>http://myserver/mydir/</code>?
</question>
       <answer>
-        <p>Change the setting <![CDATA[<default-filename>index.html</default-filename>]]>
in
-          cli.xconf.</p>
+        <p>To change the default file name from 'index.html' (default) to 'overview.htm'
you need to
+          make the following changes:</p>
+        <ol>
+          <li> Find and open the file 'cli.xconf' in your forrest program directory
tree </li>
+          <li> Replace 'index.html' in <![CDATA[<default-filename>index.html</default-filename>]]>
+            with 'overview.html'. </li>
+          <li> Save the changes. </li>
+          <li> Open the file 'sitemap.xmap' in your project's 'src'-directory. </li>
+          <li> Add the following code just before the end of the pipelines-element:<![CDATA[
+        <map:pipeline>
+          <map:match type="regexp" pattern="^.+/$">
+>>           <map:redirect-to uri="overview.html"/>
+>>       </map:match>
+        </map:pipeline>
+          ]]></li>
+          <li> Save the changes. </li>
+        </ol>
+        <note>Please note that parts of these changes are global and will effect all
your Forrests
+          run from this program directory. </note>
       </answer>
     </faq>
     <faq id="defaultStartPage">



Mime
View raw message