If you apply the attached patch (which just adds a simple <map:redirect-to>) to the current CVS and try to load the default Cocoon home page for the webapp, you'll get a nice NPE at
Oops, the patch was wrong, here is the correct version.
Ugo
-- Ugo Cei - Consorzio di Bioingegneria e Informatica Medica P.le Volontari del Sangue, 2 - 27100 Pavia - Italy Phone: +39.0382.525100 - E-mail: [EMAIL PROTECTED]
Index: src/webapp/sitemap.xmap
===================================================================
RCS file: /home/cvspublic/cocoon-2.1/src/webapp/sitemap.xmap,v
retrieving revision 1.1
diff -u -3 -r1.1 sitemap.xmap
--- src/webapp/sitemap.xmap 9 Mar 2003 00:10:42 -0000 1.1
+++ src/webapp/sitemap.xmap 10 Mar 2003 09:02:32 -0000
@@ -355,6 +355,10 @@
<!-- welcome page -->
<map:match pattern="">
+ <map:redirect-to uri="cocoon:/welcome"/>
+ </map:match>
+
+ <map:match pattern="welcome">
<!--+
| Start generating SAX events inside the pipeline. In this case,
@@ -451,4 +455,4 @@
</map:pipelines>
-</map:sitemap>
\ No newline at end of file
+</map:sitemap>
