Return-Path: Delivered-To: apmail-xml-forrest-dev-archive@xml.apache.org Received: (qmail 63198 invoked by uid 500); 17 Sep 2002 09:37:36 -0000 Mailing-List: contact forrest-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: forrest-dev@xml.apache.org Delivered-To: mailing list forrest-dev@xml.apache.org Received: (qmail 63187 invoked from network); 17 Sep 2002 09:37:36 -0000 Received: from relay.flagship.ru (213.221.9.5) by daedalus.apache.org with SMTP; 17 Sep 2002 09:37:36 -0000 Received: from POSTMAN.flagship.ru (postman.flagship.ru [213.221.9.130]) by relay.flagship.ru (8.11.4/8.11.4) with ESMTP id g8H9bmH49863 for ; Tue, 17 Sep 2002 13:37:48 +0400 (MSD) Received: from kot (go-gw.beelinegprs.com [217.118.66.254]) by POSTMAN.flagship.ru with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id TCF6ZFTP; Tue, 17 Sep 2002 13:37:47 +0400 Message-ID: <003301c25e2d$9129a500$59d713ac@kot> From: "Konstantin Piroumian" To: References: <000601c25e1e$93c50e30$59d713ac@kot> <20020917092025.GC7006@expresso.localdomain> Subject: Re: Updates to sitemap Date: Tue, 17 Sep 2002 13:35:13 +0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Status: O X-Status: X-Keywords: From: "Jeff Turner" > On Tue, Sep 17, 2002 at 11:47:56AM +0400, Konstantin Piroumian wrote: ... > > > > Now the issue: CLI versions work as before (again the 'Home' tab has wrong > > link and an NPE in TraxTransformer happens during generation), but the > > webapp version fails to switch to HowTos tab, because of the redirect is > > issued to '/community/howto/index.html' which results in redirecting to the > > server root and not to the 'Forrest/community/howto/index.html'. Hadn't yet > > time to investigate the reason, patches are welcome. > > In the directory redirect: > > > > > > You should be using the 'context' module, not the 'request' module. The > 'request' prefix is mapped to the RequestParameterModule, which doesn't contain > the 'context' variable, so always returns a blank. Change {request:context} to > {context:context} and it works. The javadocs for RequestContextPathModule are > also wrong. Thanks for finding the reason! I'll better fix the RequestContextPathModule and its declaration in cocoon.xconf. The syntax I've used was the supposed one, but I've declared the module incorrectly. -- Konstantin > > > --Jeff > > > Btw, why the created WAR has name 'Forrest' and not 'forrest'? > > > > -- > > Konstantin > > >