Magnolia bootstraps different configuration based on the name of the war file and/or location of the server to allow having single war file for all deployments by the user. The details of the mechanism are explained at [1] What happened is that your foo_testPublic was bootstrapped as an author instance because no matching configuration for the public was found. The easiest workaround is to rename WEB-INF/config/magnoliaPublic to /WEB-INF/config/foo_testPublic in the war file and install the public instance again. If you don't want to (or can't) reinstall the public from scratch, you can also switch it manually. How to do this is described at [2] and [3]
[1] http://documentation.magnolia-cms.com/cookbook/using-a-single-war-file-with-multiple-configurations.html [2] http://documentation.magnolia-cms.com/cookbook/changing-an-author-instance-into-a-public-instance.html [3] http://wiki.magnolia-cms.com/display/WIKIARCHIVE/Change+an+Author+instance+into+a+Public+one Cheers, Jan On Jul 23, 2010, at 5:48 PM, Aleš Ondrúš wrote: > Hi all, > please help me. I have > Author instance > http://localhost:8082/foo_testAuthor/ > independent database for this instance > node data Configuration - Subscribers - magnoliaPublic8080 - URL set to > http://localhost:8082/foo_testPublic > for anonymous role set URL pattern /* to Get & Post > activated anonymous role and anonymous user > created and activated page index (template Home) > Public instance > http://localhost:8082/foo_testPublic/ > independent database for this instance > node data Configuration - server - admin set to false > node data Configuration - Default URI - toURI set to redirect:/index.html > When I acces URL http://localhost:8082/foo_testPublic/ I am redirected to > http://localhost:8082/foo_testPublic/index.html with login form on the page. > I do not understand why there is login form displayed, authentification > should be disabled. > > Best regards, > > Ales > > ---------------------------------------------------------------- > 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]> ----------------------------------------------------------------
