[ http://issues.apache.org/jira/browse/COCOON-1938?page=all ]
Lars Trieloff closed COCOON-1938. --------------------------------- Resolution: Won't Fix I've just tried it with mounting the block at "", not "/" and it works as expected. But it should be documented, that the root mount path is "", not "/". Additionally, making "/" an alias for "" should be thought of. > [Patch] Allow blocks mounted at "/" to handle more than just the "/" URL > ------------------------------------------------------------------------ > > Key: COCOON-1938 > URL: http://issues.apache.org/jira/browse/COCOON-1938 > Project: Cocoon > Issue Type: Improvement > Components: - Blocks Framework > Affects Versions: 2.2-dev (Current SVN) > Reporter: Alexander Klimetschek > Priority: Minor > Attachments: cocoon-blocks-fw-improve-root-mounting.patch > > > The current DispatcherServlet allows for blocks mounted at "/" only the > simple "/" URL to be handled because all other cases (eg. "/style.css" or > "/index.html") will be interpreted as blocks - and because these don't exist, > the matching will fail. > For this case, I added a short piece of code that will allow to handle such > cases for the root block. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira