I'm new new to Alfresco Community Edition.
When I run the sample apps from my localhost, I got 2 errors in my browser's console:
- alfresco/api/-default-/public/alfresco/versions/1/nodes/-root-/children 401 (Unauthorized)
- CORS (I forgot the exact sentence)
Then I edit alfresco-community\tomcat\webapps\alfresco\WEB-INF\web.xml, I un-comment CORS Filter Begin segment and restart tomcat. When I re-run the sample apps, the 2nd error (CORS) gone. But the first error (unauthorized) remain.
Then I copy the sample apps from my localhost onto the same Alfresco server at alfresco-community/tomcat/webapps/here. If I run this sample apps, everything is fine.
So I guest un-comment the web.xml is not enough. Kindly help.