On Tue, 21 Sep 2004 18:42:15 +0200, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Read this comment from Cocoon's main sitemap.xmap:
>
> <!--+
> | Redirect to the user directory if the ending slash is missing
> | Cocoon doesn't do automatic translation of URLs because we consider it
> | a bad practice. http://blah/something/ and http://blah/something
> | effectively locate different web resources and the act of mapping
> | them to the same system resources is your concern, not Cocoon's.
> | Note that some stupid browsers (IE, for example) believe the opposite
> | and will drop the ending slash when you bookmark a web resource
> | so be aware of this issue and plan your URL-space carefully.
> +-->
>
Why is it working with Tomcat? Does it do the automatic translation of URLs?
Then, how should i write the pattern for a trailing slash ?
<map:match pattern="~*">
<map:redirect-to uri="{0}/"/>
</map:match>
Thanks,
Simon
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]