I am thinking that we should add the option of URL rewriting for each package in the Package Repository. Requiring the editing controller-config.xml after using this nice package interface to load an application seems wrong. I am thinking that we add a URL rewrite filed to the Package Repository screen.
e.g. Package a is loaded into /db/foo and you want the localhost URL to be http://localhost:8080/exist/bar. That would currently require an entry of <root pattern="/bar" path="xmldb:exist:///db/foo/"/> in the controller-config.xml file. If we had /bar in an editable filed in the Package Repository, then the URL rewriting would look in the package repository code to see if it has a match and then redirect to that collection.
Get latest updates about Open Source Projects, Conferences and News.