Nice guess, but three asterisks is not defined. mysite/** will match
literally everything after the slash. If you need to seperate out the file
extension, you can do mysite/**.* (the values will be stored in {1} and {2})
but then you have to have a .XXX request. If you will only sometimes have a
.XXX match, you need to either split the pipeline into two different ones,
or use a regexp matcher (which may not be defined in the default sitemap).
Geoff Howard
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, December 12, 2002 7:04 AM
> To: cocoon-users
> Subject: Re: problem with the sitemap and patterns
>
>
> This is my real pipeline:
>
> <map:match pattern="mysite/***">
> <map:mount check-reload="yes" reload-method="synchron"
> src="mysite/sitemap.xmap" uri-prefix="mysite"/>
> </map:match>
>
> As you can see, I use 3 asterisks, 'cause I want to match something
> like: "mysite/mydirectory/myfile.myext";
>
> when I write:
> http://localhost:8080/mysite/1dir
> or
> http://localhost:8080/mysite/1dir/2dir/3dir/4dir/file.ext
> or
> a lot of other combinations ...
>
> the pattern doesn't match
>
> Any suggestion?
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>
>
>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>