Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 3218 invoked by uid 500); 13 Dec 2002 08:59:23 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 3197 invoked from network); 13 Dec 2002 08:59:22 -0000 Date: Fri, 13 Dec 2002 09:59:34 +0100 Message-Id: Subject: =?iso-8859-1?Q?RE:_problem_with_the_sitemap_and_patterns?= MIME-Version: 1.0 X-Sensitivity: 3 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable From: "=?iso-8859-1?Q?pmirco@inwind.it?=" To: "=?iso-8859-1?Q?cocoon-users?=" X-XaM3-API-Version: 3.2 R28 (B53) X-type: 0 X-SenderIP: 213.82.138.119 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Well, maybe what I supposed to know about pipelines and matchers is =0D=0A= wrong, but ...=0D=0A=0D=0A=0D=0A =0D=0A=0D=0A=0D=0Aand th= e mounted pipeline is something like:=0D=0A=0D=0A =0D=0A=0D=0A=0D=0A =0D=0A=0D=0A=0D=0A =0D=0A =0D=0A=0D=0A=0D=0ANow, if I call=0D=0Ahttp://localhost:8080/cocoon/mysite/i= ndex.html=0D=0Aor=0D=0Ahttp://localhost:8080/cocoon/mysite/dir1/dir2/inde= x.html=0D=0Ait works=0D=0A=0D=0Abut if I try=0D=0Ahttp://localhost;8080/c= ocoon/mysite/anything.html=0D=0AI get the well known white page with the = blu header "Cocoon 2 - =0D=0AResource not found",=0D=0Awhile I expected t= o find my custom error page.=0D=0A=0D=0ACoccon processes a request which = begins with "mysite" and, according to =0D=0Athe "2 asterisks rule", the = mounted pipeline is executed.=0D=0ABut there isn't a pattern that matches= the request, an error occurs.=0D=0ASo why my custom handler isn't proces= sed?=0D=0A=0D=0AWhere I'm wrong?=0D=0A=0D=0ACocoon 2.0.3 - Tomcat 4.1.12 = - j2sdk1.4.0 - Win2k server=0D=0A=0D=0A----------------------------------= -------------------------------------=0D=0A=0D=0A> Nice guess, but three = asterisks is not defined. mysite/** will match=0D=0A> literally everythi= ng after the slash. If you need to seperate out the=0D=0A file=0D=0A> ex= tension, you can do mysite/**.* (the values will be stored in {1} an=0D=0A= d {2})=0D=0A> but then you have to have a .XXX request. If you will only= sometimes =0D=0Ahave a=0D=0A> .XXX match, you need to either split the p= ipeline into two different o=0D=0Anes,=0D=0A> or use a regexp matcher (wh= ich may not be defined in the default sitem=0D=0Aap).=0D=0A> =0D=0A> Geof= f Howard=0D=0A> =0D=0A --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: