Details
-
Improvement
-
Resolution: Fixed
-
Major
-
2.0 Final
-
None
-
It should be possible to deploy multiple magnolia instances under one container service
Description
So, what is to do if you want to deploy magnolia as a war without changing server.xml?
The point is the context of the web application. This means that every URL created by
Magnolia start must start with the correct context. For example all URL produced by the author instance should start with
/author and all URL produced by the public instance should start with /public
First you have to define the context as a prefix in the config section (this should not be a problem)
Then there are two possibilities:
1. Setting up a filter which checks the URLs and does respective rewriting (let's call it "link checking"). This would mean that Magnolia must parse every JSP page and do the rewriting. Of course we could check broken links here as well...
2. Whenever you create a URL make sure to use this prefix (admintemplates and custom templates/paragraphs).
In either ways the Magnolia team should support one of these.
Ralf