AnsweredAssumed Answered

alfresco/share 5.0c webdav links broken behind reverse proxy

Question asked by ltendi on Feb 8, 2015
Latest reply on Feb 18, 2015 by ltendi
I've just configured alfresco/share 5.0c to work behind an apache 2.2 reverse proxy on CENTOS 6.6.

The configuration seems to work as expected, and I can also access properly using webdav  (… works fine) but when I look at the url to share the current page I get: (this is correct)
http://mydomain.local:8080/alfresco/webdav/Sites/fvg-copia/documentLibrary/894 (This it is not correct because it is the internal url)

This is true for all kind of objects into the repository.

How can I fix this problem?

Follow the changes done up to now.

reverse proxy configuration file:

        RewriteRule ^/share$ /share/ [R]
        RewriteRule ^/alfresco$ /alfresco/ [R]
        ProxyPass /share http://share-fvg.tbsit.local:8080/share
        ProxyPassReverse /share http://share-fvg.tbsit.local:8080/share
        ProxyPass /alfresco http://share-fvg.tbsit.local:8080/alfresco
        ProxyPassReverse /alfresco http://share-fvg.tbsit.local:8080/alfresco



I also changed share-config-custom.xml adding a few lines to relax CSRF checks: see attached files.

Regards Luciano