--On 20 February 2008 14:37 -0700 Ryan Gardner
<[email protected]> wrote:

> Should we have /fooPublic/ and /barPublic/ be public instances and
> have two website repositories in Magnolia 3.5 that publish to each of
> those respectively, and have the apache on that machine handle the
> rewrites for the domains?

Various possibilities:

(1)  Separate Tomcats - not worth considering.

(2)  Separate Magnolia webapps in one Tomcat.  If they are put in
separate virtual servers within Tomcat, and the public instance is made
ROOT in each case (there's stuff in the WIKI about both of these), then
you can do it without a reverse proxy if Tomcat is on port 80.  I have
used this solution; however, the duplication of resources for the
multiple Magnolias makes this setup run into Java memory allocation
trouble at four or so sites (in my experience).

(3)  Separate sub-trees in the website repository of a single Magnolia.
I have used this solution with Magnolia 2.1.5, and used Apache as a
reverse proxy to rewrite the requests - I have written in the WIKI
about this.

I am in the process of redoing this solution with the current release,
and taking it further than I did before by separating the docroot tree
for each site as well, so that each site has its own templates and
everything in a transparent way (I have done this rather than subtrees
within the existing docroot to get over some difficulties I could not
otherwise resolve in the use of the Apache reverse_proxy_html module).

Security has been easy to set up so that editors for individual sites
get to see only their own web subtree and templates.

I have not yet dealt with the DMS in this solution, as I have no
previous experience with it; coming later...

I can't see that separate repositories would have any advantage over
subtrees in the one repository.

If it seems worth it I will write this solution up when it is complete
(or update the previous article to reflect the changes).

Paul

-- 
Paul Hodges



-- 
Paul Hodges



----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------

Reply via email to