10-25-2017 11:16 PM
Hi Friends,
I have configured proxy with alfresco to my existing system. Now all the application works great but delete a document and modify the permissions is not working. There are no logs reported in share.log or alfresco.log for this but in the application i see following error and in proxy server i see some logs similar to following.
Application errors when deleting a file:
1, Could not delete 'test1.docx'
proxy log for the above error:
AH01797: client denied by server configuration: proxy: https://mysite/share/proxy/alfresco/slingshot/doclib/action/file/node/workspace/SpacesStore/4a136f1f..., referer: https://mysite/share/page/site/test2/documentlibrary
Application error when modifying the permissions:
1, Failed to change role of user balfocse
proxy error for the above error:
AH01797: client denied by server configuration: proxy: https://mysite/share/proxy/alfresco/api/sites/test2/memberships/balfocse, referer: https://mysite/share/
page/site/test2/site-members
This is only happening after configuring proxy server configuration. Any help is greatly appreciated.
10-27-2017 05:39 AM
Have you configured the Alfresco Share CSRF security mechanism correctly for your specific proxy setup? The CSRF filter can interfere with any modifying actions when Share does not consider the referrer to be "itself" due to proxy name being different than the host name.
11-13-2017 01:35 PM
Hi Axel,
Thank you for the response. sorry for the delayed response. I Did not set the CSRF security Mechanism at all. The issue was the proxy server has block on delete and put. We fixed it by disabling the this configuration for share. Now I am at a point to set up CSRF security to my application. Can you tell me where should I make this changes in the application.
Explore our Alfresco products with the links below. Use labels to filter content by product module.