To run several sites with one Magnolia instance (author and public) you can use Apache with mod_jk (however, with Apache 2, the mod_proxy plug-in provides a more generic interface, suitable for Tomcat as well as any other application server). Here is what you have to do:
1. Give every site a separate content tree. I.e., create a top-level item in the "Websites" panel for each site you wish to create.
2. Configure Apache with mod_jk, setup mod_jk (
3. Setup workers.properties for Magnolia (
4. Define virtual hosts for all of you sites (
If needed you can use ProxyPass/Reverse directives instead of RewriteRule.
5. Define a virtual host for the authoring instance (
6. Setup roles for each site like you find in Setup editor role for a site
7. Test it
Basically, this should be enough, but if you are making this on a Linux OS and SELinux is running you may experience permission problems during the redirect. In this case you'll find the following messages in the error.log of the Apache:
In this case, try to enabled script access in SELinux (Described for fedoracore):
Once this is set up, you may find Getting site data helpful.
In its previous incarnation on JspWiki, this page was last edited on Feb 9, 2007 10:59:43 AM by Magnolia
Other known authors include :