08-29-2011 09:03 PM
Hello,
I tried to define a template with the anonymous user (file describe here http://doc.nuxeo.com/display/KB/How+to+create+web+pages+viewable+by+anonymous+users), but the loading configuration file didn't work :
But it didn't work after restart (no user Guest appear).
--> I realised that the file was not copied under nxserver/config but under : /opt/nuxeo-dm/ and /opt/nuxeo-dm/config
Did I do something wrong ? Is it normal for the file to be deploy under /opt/nuxeo-dm ? (component is yet not beginning)
I also try to understand the documentation here : http://doc.nuxeo.com/display/KB/How+to+create+web+pages+viewable+by+anonymous+users but it is not clear and confusing because not focusing on the subject pointing in the title.
Thank you
08-30-2011 07:53 AM
hello,
yes, it's normal. According to your template configuration, the config folder will be copied directly under $NUXEO_HOME (/opt/nuxeo-dm in your case) Create a new folder "nxserver" under "etc/nuxeo-dm/mycustom/" and move the existing "config" folder into nxserver. Then restart Nuxeo DM and your file anonymous-config.xml will be copied under $NUXEO_HOME/nxserver/config as expected.
Another solution is to create a nuxeo.defaults file under "etc/nuxeo-dm/mycustom/" and add a property mycustom.target=nxserver to force the copy of your content under $NUXEO_HOME/nxserver
Thierry
08-30-2011 07:53 AM
hello,
yes, it's normal. According to your template configuration, the config folder will be copied directly under $NUXEO_HOME (/opt/nuxeo-dm in your case) Create a new folder "nxserver" under "etc/nuxeo-dm/mycustom/" and move the existing "config" folder into nxserver. Then restart Nuxeo DM and your file anonymous-config.xml will be copied under $NUXEO_HOME/nxserver/config as expected.
Another solution is to create a nuxeo.defaults file under "etc/nuxeo-dm/mycustom/" and add a property mycustom.target=nxserver to force the copy of your content under $NUXEO_HOME/nxserver
Thierry
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.