On Tuesday 19 November 2002 14:48, Geoff Howard wrote:
> oops - the regular expression match I gave you can
> obviously cause problems because it's not restrictive
> enough. In a similar case, I use: <map:match
> type="regexp" pattern="^admin[/]?$">... the brackets
> don't have a functional purpose in this case - I just
> find it easier to read that way.
I have just found out that I have been mounting the sub-sitemap below
the "**/" pattern which invokes the DirectoryGenerator :) Corrected
this.
Unfortunately the following does not even work now:
<map:match pattern="^admin[/]?$" type="regexp">
<map:redirect-to uri="admin/index"/>
</map:match>
http://mysite/cocoon/sub/admin does work but
http://mysite/cocoon/sub/admin/ is redirected to
http://mysite/cocoon/sub/admin/admin/index.
Yet these are problems I can solve myself. Again, thank you.
--
Matthias Brunner <[EMAIL PROTECTED]>
PGP FP 7862 32B3 3B75 292A F76F 5042 8587 21AB 5B89 D501
Check out http://blumenstrasse.vol.at/~mb/gpgkey.asc
---------------------------------------------------------------------
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]>