> I would like to propose a small extension in the logic of how
> XQueryURLRewrite finds the file with redirection rules.
> The idea is to search for controller.xql first in the sub-directories
> matching the URL structure and if not such file is found then execute
> the main webapp/controller.xql.
I agree that having a single controller is not very convenient. I like
your proposal, though there's one problem to solve: with the current
implementation, controller.xql does not need to be in the file system.
It could also be stored in the db. This is an important feature. We
would thus need to implement the same logic in the db as for the file
system. This will make XQueryURLRewrite slightly more complicated.
Another problem is that the filter caches the URIs it already processed.
We would need to clean those whenever one of the controller changes.
Anyway, I guess those issues can be solved.
Wolfgang
------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB_______________________________________________
Exist-open mailing list
Exist-open@...
https://lists.sourceforge.net/lists/listinfo/exist-open