Changing author to public instance
Author and the public instances run the same Magnolia CMS web application, they are just configured differently. Here are the settings you need to change when changing an author to a public.
Magnolia 3.5 and later
Author to public
- Set
/server/admintofalse. - Grant permissions to the
anonymousrole: - In the
websiteworkspace, grant read-only access to all website content. - In
URLspace, grant Get & Post permission to URL/*but deny access to.magnolia,.magnolia/*and any protected (members only) areas of your site. - Set
/modules/adminInterface/virtualURIMapping/default/toURIto your start page. The system does not know which page, or which site in a multisite configuration, visitors should be directed to by default. SettoURIto the site root page or a page you want visitors to land on. For example, in the demo-projecttoURIis set toredirect:/demo-project.html. See Can't resolve link to: /technical-guide/virtual-uri-mapping for help.
Public to author
- Set
/server/admintotrue. - Deny permissions to the
anonymousrole: - In the
websiteworkspace, deny access to all website content. - In
URLspace, deny access to URLs/*and.magnolia/*. - Configure subscribers: To make the activation mechanism work, configure public instances as subscribers.
Before Magnolia 3.5
Author to public
- Set
/server/admintofalse. - Secure AdminCentral URI. Set
/server/secureURIList/0001/URIto/.magnolia/*. This requires authentication for AdminCentral only. You can secure other content by adding other URIs to the config. - Activate cache. Set
/server/cache/level1/activetotrue.
Public to author
- Set
/server/admintotrue. - Secure all URIs. Set
/server/secureURIList/0001/URIto/*. This requires authentication for everything. - Deactivate cache. Set
/server/cache/level1/activetofalse. - Configure subscribers. To make the activation mechanism work, configure public instances as subscribers.