Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 28611 invoked from network); 8 May 2004 06:39:54 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 8 May 2004 06:39:54 -0000 Received: (qmail 74611 invoked by uid 500); 8 May 2004 06:39:24 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 74549 invoked by uid 500); 8 May 2004 06:39:24 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 74527 invoked from network); 8 May 2004 06:39:24 -0000 Received: from unknown (HELO linda-1.paradise.net.nz) (202.0.58.20) by daedalus.apache.org with SMTP; 8 May 2004 06:39:24 -0000 Received: from smtp-1.paradise.net.nz (smtp-1b.paradise.net.nz [202.0.32.210]) by linda-1.paradise.net.nz (Paradise.net.nz) with ESMTP id <0HXD00JV8UHWGL@linda-1.paradise.net.nz> for users@cocoon.apache.org; Sat, 08 May 2004 18:39:32 +1200 (NZST) Received: from JESSIE (203-79-120-217.cable.paradise.net.nz [203.79.120.217]) by smtp-1.paradise.net.nz (Postfix) with SMTP id 1311D8278E for ; Sat, 08 May 2004 18:39:32 +1200 (NZST) Date: Sat, 08 May 2004 18:45:26 +1200 From: Conal Tuohy Subject: RE: Sitemap Auto-Mount challenge In-reply-to: <006d01c4339e$db0b80b0$d65c6351@rosesgro7puzo0> To: users@cocoon.apache.org Message-id: <002701c434c8$0c5bc1a0$d9784fcb@insurgentes.local> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi Rob Your problem is simple, you'll be pleased to know. You should use a more powerful matcher to match your request URI. Check out the regexp matcher. My regexp skills are very poor, but I think you want something like: The Regular Expression language is documented at: http://jakarta.apache.org/regexp/apidocs/org/apache/regexp/RE.html Good luck Con > -----Original Message----- > From: Rob Gregory [mailto:Minty@RosesGroup.com] > Sent: Friday, 7 May 2004 07:18 > To: users@cocoon.apache.org > Subject: Sitemap Auto-Mount challenge > > > Hi People > > I have a requirement to automount sub sitemaps but don't want > sub sites! > > > To explain a little I have a single application that is growing very > large day by day and the sitemap has been divided into multiple > sub-sitemaps currently using the approach as follows:- > > > > check-reload="no"/> > > > > > check-reload="no"/> > > > etc, etc... > > > While the files (xsp's, xslt, etc) all share a common directory > structure and are referenced from the sub-sitemaps. This is > working fine > but I would like to remove the requirement to keep editing the main > sitemap to add these 's. I have investigated the automount > feature of Cocoon but this requires the files to be deployed > as separate > entities each with a sitemap.xmap which I can't do as the > application is > one main app with multiple modules. > > Is there anyway to direct all request to rob100.xsp, rob100_logon.xsp, > rob100_search.xsp etc to the rob100.xmap while directing all requests > for rob200.xsp, rob200_* to the rob200.xmap? > > I'm running Cocoon 2.1.3, Tomcat 5.0.18, JDK1.4 and would really > appreciate any guidence on this problem or any pointers on how this > could possibly be achieved (i.e. using an xpath expression or > an action > etc) > > Thanks in advance for any input - hope I have explained the > problem ok? > > Kind Regards > Rob > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org > For additional commands, e-mail: users-help@cocoon.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org