On Wed, Dec 11, 2002 at 03:05:57PM -0500, Timothy Larson wrote:
> Try <map:match pattern="mysite/**">
> Notice the two asterisks.
> 
> Tim
> 
> >>> [EMAIL PROTECTED] 12/11/02 12:44PM >>>
> Is there a way to specify a GENERAL pattern?
> I know, the wildcards exists for this reason, but if I write in my sitemap:
> 
> <map:match pattern="mysite/*">
> 
> and the user write something like:
> http://localhost:8080/cocoon/mysite/dir1/dir2/file1.html 
> then my pattern doesn't match
> 
> Furthermore, if the user writes:
> http://localhost:8080/cocoon/mysite/dir1/ 
> my pattern doesn't match again
> 
> I'd like to know if there's a way to match everything that begins with "mysite".
> 
> Thanks in advance

That will be <map:match pattern="mysite/**">

-- 
Lenya Khachaturov
mailto:[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]>

Reply via email to