cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Dulin <dul...@olegdulin.com>
Subject Re: Refering to parts of the URI using a matcher
Date Thu, 23 Oct 2003 14:34:45 GMT
Same problem...

Note that I also have things like:


<map:match pattern="/foo/**">

which come later in the pipeline to ensure proper prioritization.

Oleg

Geoff Howard wrote:

> Oleg Dulin wrote:
> 
>> Joerg:
>>
>>>> <map:match pattern="/foo/**/*.xml/some/other/stuff">
>>>>
>>>> and then refer to the parts of the "**" and "*.xml" parts of the 
>>>> match using "{1}" and "{2}.xml" respectively.
>>
>>
>>
>>> What's the problem? It's exactly as you wrote it.
>>
>>
>>
>> The problem is that as long as i have 
>> pattern="/foo/**/some/other/stuff" the match is triggered. As soon as 
>> I change it to "/foo/**/*.xml/some/other/stuff" I start getting 404 
>> Not Found
> 
> 
> try "/foo**/*.xml/some/other/stuff"
> 
> you probably don't always have something between those slashes.
> 
> Geoff
> 
> 
> ---------------------------------------------------------------------
> 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


Mime
View raw message