Ignore me. I have it working and in case anyone else happens to have the same difficulty then the answers are:
1) Two databases, for one each instance (assuming you have only 1 public and 1 admin instance) otherwise each additional public instance add 1 extra database to your database server; 2) Even if the: server => admin flag is set to false then it is still possible to log into the adminCentral area of the public instance but it is not possible to do anything but look at the settings. This was confusing me as I was not expecting to have the login available at all, especially at the context root. In order to set this up in a more understandable way, in the public instance I: 1) Logged in; 2) Set the server => admin flag to true; 3) Set the modules => adminInterface => virtualURIMapping => default => toURI => redirect:/home.html 4) Set the server => admin flag back to false; and then in the admin instance created a home.html page using my template and activated it. Now if I goto the localhost:8080/magnoliaPublic-4-0-1 context root I am redirected to the home.html page and not the adminCentral login page. Gavin Donald wrote: > Hello, > > I have been playing with Magnolia 4.0.1 (unbundled version) on Tomcat > 6.0.18 for a few days and have been struggling with some basic concepts: > > 1) This feels like a very stupid question but when there is an Author > and a Public instance do they share one database between them or two? I > am assuming one but the problems I am having have left me wondering; > > 2) In converting an author instance to a public instance I have set the: > > Configuration => server => admin => false > > and in: > > Security => Roles => anonymous => Access control list => website > > I have set: > > Read only | Selected and sub pages | / > Deny access | Selected and sub pages | /.magnolia > Deny access | Selected and sub pages | .magnolia > Deny access | Selected and sub pages | .magnolia > Deny access | Selected and sub pages | .magnolia/* > Deny access | Selected and sub pages | /.magnolia/* > Deny access | Selected and sub pages | /.magnolia* > Deny access | Selected and sub pages | .magnolia > > and in: > > > Security => Roles => anonymous => Access control list => URL > > Get & Post | /* > Deny access | /.magnolia/* > Deny access | /.magnolia > > I know I have more entries than are required but I wanted to try > everything I could thing of. I then log out and refresh but am asked to > log in. After logging in it is still an Author instance. Rebooting > Tomcat has not effect. > > I have been through many attempts to get things running and have > re-installed at least 20-30 times with different variations using both > the bundled and unbundled versions and versions 4.01 and 3.6.5. My final > aim is to use the 4.0.1 unbundled version and create my own template. > My template works in the author instance but no matter what I do I > cannot get it to work in the public instance. > > Any help much appreciated as I am almost utterly stuck. All I can think > of now is to try all this again with the bundled version but I have > played with that quite a lot already. > > > > > > > ---------------------------------------------------------------- > For list details see > http://www.magnolia-cms.com/home/community/mailing-lists.html > To unsubscribe, E-mail to: <[email protected]> > ---------------------------------------------------------------- > > > ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
